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

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/GlobalDelete.golden

Issue 2510653002: [ic] Pass name to LoadGlobalIC again. (Closed)
Patch Set: Release fix Created 4 years, 1 month 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
OLDNEW
1 # 1 #
2 # Autogenerated by generate-bytecode-expectations. 2 # Autogenerated by generate-bytecode-expectations.
3 # 3 #
4 4
5 --- 5 ---
6 wrap: no 6 wrap: no
7 test function name: f 7 test function name: f
8 8
9 --- 9 ---
10 snippet: " 10 snippet: "
11 var a = {x:13, y:14}; 11 var a = {x:13, y:14};
12 function f() { 12 function f() {
13 return delete a.x; 13 return delete a.x;
14 }; 14 };
15 f(); 15 f();
16 " 16 "
17 frame size: 1 17 frame size: 1
18 parameter count: 1 18 parameter count: 1
19 bytecode array length: 10 19 bytecode array length: 11
20 bytecodes: [ 20 bytecodes: [
21 /* 32 E> */ B(StackCheck), 21 /* 32 E> */ B(StackCheck),
22 /* 39 S> */ B(LdaGlobal), U8(2), 22 /* 39 S> */ B(LdaGlobal), U8(0), U8(2),
23 B(Star), R(0), 23 B(Star), R(0),
24 B(LdaConstant), U8(0), 24 B(LdaConstant), U8(1),
25 B(DeletePropertySloppy), R(0), 25 B(DeletePropertySloppy), R(0),
26 /* 58 S> */ B(Return), 26 /* 58 S> */ B(Return),
27 ] 27 ]
28 constant pool: [ 28 constant pool: [
29 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
29 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], 30 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
30 ] 31 ]
31 handlers: [ 32 handlers: [
32 ] 33 ]
33 34
34 --- 35 ---
35 snippet: " 36 snippet: "
36 a = {1:13, 2:14}; 37 a = {1:13, 2:14};
37 function f() { 38 function f() {
38 'use strict'; 39 'use strict';
39 return delete a[1]; 40 return delete a[1];
40 }; 41 };
41 f(); 42 f();
42 " 43 "
43 frame size: 1 44 frame size: 1
44 parameter count: 1 45 parameter count: 1
45 bytecode array length: 10 46 bytecode array length: 11
46 bytecodes: [ 47 bytecodes: [
47 /* 28 E> */ B(StackCheck), 48 /* 28 E> */ B(StackCheck),
48 /* 51 S> */ B(LdaGlobal), U8(2), 49 /* 51 S> */ B(LdaGlobal), U8(0), U8(2),
49 B(Star), R(0), 50 B(Star), R(0),
50 B(LdaSmi), U8(1), 51 B(LdaSmi), U8(1),
51 B(DeletePropertyStrict), R(0), 52 B(DeletePropertyStrict), R(0),
52 /* 71 S> */ B(Return), 53 /* 71 S> */ B(Return),
53 ] 54 ]
54 constant pool: [ 55 constant pool: [
56 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
55 ] 57 ]
56 handlers: [ 58 handlers: [
57 ] 59 ]
58 60
59 --- 61 ---
60 snippet: " 62 snippet: "
61 var a = {x:13, y:14}; 63 var a = {x:13, y:14};
62 function f() { 64 function f() {
63 return delete a; 65 return delete a;
64 }; 66 };
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 B(LdaConstant), U8(0), 105 B(LdaConstant), U8(0),
104 B(DeletePropertySloppy), R(1), 106 B(DeletePropertySloppy), R(1),
105 /* 42 S> */ B(Return), 107 /* 42 S> */ B(Return),
106 ] 108 ]
107 constant pool: [ 109 constant pool: [
108 ONE_BYTE_INTERNALIZED_STRING_TYPE ["b"], 110 ONE_BYTE_INTERNALIZED_STRING_TYPE ["b"],
109 ] 111 ]
110 handlers: [ 112 handlers: [
111 ] 113 ]
112 114
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698