Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit da93046

Browse filesBrowse files
targosaddaleax
authored andcommitted
deps: update V8 to 5.9.211.37
PR-URL: #13790 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 55a1231 commit da93046
Copy full SHA for da93046

File tree

Expand file treeCollapse file tree

3 files changed

+35
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+35
-1
lines changed
Open diff view settings
Collapse file

‎deps/v8/include/v8-version.h‎

Copy file name to clipboardExpand all lines: deps/v8/include/v8-version.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define V8_MAJOR_VERSION 5
1212
#define V8_MINOR_VERSION 9
1313
#define V8_BUILD_NUMBER 211
14-
#define V8_PATCH_LEVEL 35
14+
#define V8_PATCH_LEVEL 37
1515

1616
// Use 1 for candidates and 0 otherwise.
1717
// (Boolean macro values are not supported by all preprocessors.)
Collapse file

‎deps/v8/src/compiler/escape-analysis.cc‎

Copy file name to clipboardExpand all lines: deps/v8/src/compiler/escape-analysis.cc
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,13 @@ bool EscapeStatusAnalysis::CheckUsesForEscape(Node* uses, Node* rep,
853853
case IrOpcode::kObjectIsString:
854854
case IrOpcode::kObjectIsSymbol:
855855
case IrOpcode::kObjectIsUndetectable:
856+
case IrOpcode::kNumberLessThan:
857+
case IrOpcode::kNumberLessThanOrEqual:
858+
case IrOpcode::kNumberEqual:
859+
#define CASE(opcode) case IrOpcode::k##opcode:
860+
SIMPLIFIED_NUMBER_BINOP_LIST(CASE)
861+
SIMPLIFIED_NUMBER_UNOP_LIST(CASE)
862+
#undef CASE
856863
if (SetEscaped(rep)) {
857864
TRACE("Setting #%d (%s) to escaped because of use by #%d (%s)\n",
858865
rep->id(), rep->op()->mnemonic(), use->id(),
Collapse file
+27Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// Copyright 2017 the V8 project authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
5+
// Flags: --allow-natives-syntax --turbo-escape
6+
7+
function foo() {
8+
var a = {x:1};
9+
var b = {x:1.5, y: 1};
10+
var x = 0;
11+
for (var i = 0; i < 1; i = {}) {
12+
// The second iteration of this loop is dead code, leading to a
13+
// contradiction between dynamic and static information.
14+
x += a.x + 0.5;
15+
x += a.x % 0.5;
16+
x += Math.abs(a.x);
17+
x += a.x < 6;
18+
x += a.x === 7;
19+
x += a.x <= 8;
20+
a = b;
21+
}
22+
return x;
23+
}
24+
foo();
25+
foo();
26+
%OptimizeFunctionOnNextCall(foo);
27+
foo();

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.