Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(782)

Side by Side Diff: test/mjsunit/regress/regress-648373-sloppy-arguments-includesValues.js

Issue 2354773006: [elements] Handlify raw parameter_map pointers for SloppyArgumentsAccessor (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/elements.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 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 --expose-gc
6
7 function getRandomProperty(v, rand) { var properties = Object.getOwnPropertyName s(v); var proto = Object.getPrototypeOf(v); if (proto) {; } if ("constructor" && v.constructor.hasOwnProperty()) {; } if (properties.length == 0) { return "0"; } return properties[rand % properties.length]; }
8 var __v_4 = {};
9
10 __v_2 = {
11 FAST_ELEMENTS() {
12 return {
13 get 0() {
14 } };
15 } ,
16 Arguments: {
17 FAST_SLOPPY_ARGUMENTS_ELEMENTS() {
18 var __v_11 = (function( b) { return arguments; })("foo", NaN, "bar");
19 __v_11.__p_2006760047 = __v_11[getRandomProperty( 2006760047)];
20 __v_11.__defineGetter__(getRandomProperty( 1698457573), function() { gc() ; __v_4[ 1486458228] = __v_2[ 1286067691]; return __v_11.__p_2006760047; });
21 ;
22 Array.prototype.includes.call(__v_11);
23 },
24 Detached_Float64Array() {
25 } }
26 };
27 function __f_3(suites) {
28 Object.keys(suites).forEach(suite => __f_4(suites[suite]));
29 function __f_4(suite) {
30 Object.keys(suite).forEach(test => suite[test]());
31 }
32 }
33 __f_3(__v_2);
OLDNEW
« no previous file with comments | « src/elements.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698