GeezerVison is showing github.com — deps: upgrade V8 to 4.5.103.33 · nodejs/node@7ebd881
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: deps/v8/build/features.gypi +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 108 | 108 | 'DebugBaseCommon': { | 109 | 109 | 'abstract': 1, | 110 | 110 | 'variables': { | 111 | | - 'v8_enable_handle_zapping%': 0, | | 111 | + 'v8_enable_handle_zapping%': 1, | 112 | 112 | }, | 113 | 113 | 'conditions': [ | 114 | 114 | ['v8_enable_handle_zapping==1', { | | 118 | 118 | }, # Debug | 119 | 119 | 'Release': { | 120 | 120 | 'variables': { | 121 | | - 'v8_enable_handle_zapping%': 1, | | 121 | + 'v8_enable_handle_zapping%': 0, | 122 | 122 | }, | 123 | 123 | 'conditions': [ | 124 | 124 | ['v8_enable_handle_zapping==1', { | |
Collapse file Copy file name to clipboardExpand all lines: deps/v8/codereview.settings +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | CODE_REVIEW_SERVER: https://codereview.chromium.org | 2 | | -CC_LIST: v8-dev@googlegroups.com | | 2 | +CC_LIST: v8-reviews@googlegroups.com | 3 | 3 | VIEW_VC: https://chromium.googlesource.com/v8/v8/+/ | 4 | 4 | STATUS: http://v8-status.appspot.com/status | 5 | 5 | TRY_ON_UPLOAD: False | |
Collapse file Copy file name to clipboardExpand all lines: deps/v8/include/v8-version.h +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 11 | 11 | #define V8_MAJOR_VERSION 4 | 12 | 12 | #define V8_MINOR_VERSION 5 | 13 | 13 | #define V8_BUILD_NUMBER 103 | 14 | | -#define V8_PATCH_LEVEL 30 | | 14 | +#define V8_PATCH_LEVEL 33 | 15 | 15 |
| 16 | 16 | // Use 1 for candidates and 0 otherwise. | 17 | 17 | // (Boolean macro values are not supported by all preprocessors.) | |
Collapse file Copy file name to clipboardExpand all lines: deps/v8/src/ast.cc +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -441,6 +441,7 @@ void ObjectLiteral::BuildConstantProperties(Isolate* isolate) { | 441 | 441 |
| 442 | 442 | if (position == boilerplate_properties_ * 2) { | 443 | 443 | DCHECK(property->is_computed_name()); | | 444 | + is_simple = false; | 444 | 445 | break; | 445 | 446 | } | 446 | 447 | DCHECK(!property->is_computed_name()); | |
Collapse file Copy file name to clipboardExpand all lines: deps/v8/test/mjsunit/harmony/computed-property-names.js +56Lines changed: 56 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -300,3 +300,59 @@ function ID(x) { | 300 | 300 | }; | 301 | 301 | }, MyError); | 302 | 302 | })(); | | 303 | + | | 304 | + | | 305 | +(function TestNestedLiterals() { | | 306 | + var array = [ | | 307 | + 42, | | 308 | + { a: 'A', | | 309 | + ['b']: 'B', | | 310 | + c: 'C', | | 311 | + [ID('d')]: 'D', | | 312 | + }, | | 313 | + 43, | | 314 | + ]; | | 315 | + assertEquals(42, array[0]); | | 316 | + assertEquals(43, array[2]); | | 317 | + assertEquals('A', array[1].a); | | 318 | + assertEquals('B', array[1].b); | | 319 | + assertEquals('C', array[1].c); | | 320 | + assertEquals('D', array[1].d); | | 321 | + var object = { | | 322 | + outer: 42, | | 323 | + inner: { | | 324 | + a: 'A', | | 325 | + ['b']: 'B', | | 326 | + c: 'C', | | 327 | + [ID('d')]: 'D', | | 328 | + }, | | 329 | + outer2: 43, | | 330 | + }; | | 331 | + assertEquals(42, object.outer); | | 332 | + assertEquals(43, object.outer2); | | 333 | + assertEquals('A', object.inner.a); | | 334 | + assertEquals('B', object.inner.b); | | 335 | + assertEquals('C', object.inner.c); | | 336 | + assertEquals('D', object.inner.d); | | 337 | + var object = { | | 338 | + outer: 42, | | 339 | + array: [ | | 340 | + 43, | | 341 | + { a: 'A', | | 342 | + ['b']: 'B', | | 343 | + c: 'C', | | 344 | + [ID('d')]: 'D', | | 345 | + }, | | 346 | + 44, | | 347 | + ], | | 348 | + outer2: 45 | | 349 | + }; | | 350 | + assertEquals(42, object.outer); | | 351 | + assertEquals(45, object.outer2); | | 352 | + assertEquals(43, object.array[0]); | | 353 | + assertEquals(44, object.array[2]); | | 354 | + assertEquals('A', object.array[1].a); | | 355 | + assertEquals('B', object.array[1].b); | | 356 | + assertEquals('C', object.array[1].c); | | 357 | + assertEquals('D', object.array[1].d); | | 358 | +})(); |
|