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

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

Issue 2336643002: [Interpreter] Move context chain search loop to handler (Closed)
Patch Set: Fix documentation nits 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
OLDNEW
1 # 1 #
2 # Autogenerated by generate-bytecode-expectations. 2 # Autogenerated by generate-bytecode-expectations.
3 # 3 #
4 4
5 --- 5 ---
6 execute: yes 6 execute: yes
7 wrap: no 7 wrap: no
8 test function name: f 8 test function name: f
9 9
10 --- 10 ---
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 --- 58 ---
59 snippet: " 59 snippet: "
60 var a = {x:13, y:14}; 60 var a = {x:13, y:14};
61 function f() { 61 function f() {
62 return delete a; 62 return delete a;
63 }; 63 };
64 f(); 64 f();
65 " 65 "
66 frame size: 2 66 frame size: 2
67 parameter count: 1 67 parameter count: 1
68 bytecode array length: 14 68 bytecode array length: 16
69 bytecodes: [ 69 bytecodes: [
70 /* 32 E> */ B(StackCheck), 70 /* 32 E> */ B(StackCheck),
71 /* 39 S> */ B(LdrContextSlot), R(context), U8(3), R(0), 71 /* 39 S> */ B(LdrContextSlot), R(context), U8(3), U8(0), R(0),
72 B(LdrContextSlot), R(0), U8(2), R(1), 72 B(LdrContextSlot), R(0), U8(2), U8(0), R(1),
73 B(LdaConstant), U8(0), 73 B(LdaConstant), U8(0),
74 B(DeletePropertySloppy), R(1), 74 B(DeletePropertySloppy), R(1),
75 /* 56 S> */ B(Return), 75 /* 56 S> */ B(Return),
76 ] 76 ]
77 constant pool: [ 77 constant pool: [
78 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], 78 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
79 ] 79 ]
80 handlers: [ 80 handlers: [
81 ] 81 ]
82 82
83 --- 83 ---
84 snippet: " 84 snippet: "
85 b = 30; 85 b = 30;
86 function f() { 86 function f() {
87 return delete b; 87 return delete b;
88 }; 88 };
89 f(); 89 f();
90 " 90 "
91 frame size: 2 91 frame size: 2
92 parameter count: 1 92 parameter count: 1
93 bytecode array length: 14 93 bytecode array length: 16
94 bytecodes: [ 94 bytecodes: [
95 /* 18 E> */ B(StackCheck), 95 /* 18 E> */ B(StackCheck),
96 /* 25 S> */ B(LdrContextSlot), R(context), U8(3), R(0), 96 /* 25 S> */ B(LdrContextSlot), R(context), U8(3), U8(0), R(0),
97 B(LdrContextSlot), R(0), U8(2), R(1), 97 B(LdrContextSlot), R(0), U8(2), U8(0), R(1),
98 B(LdaConstant), U8(0), 98 B(LdaConstant), U8(0),
99 B(DeletePropertySloppy), R(1), 99 B(DeletePropertySloppy), R(1),
100 /* 42 S> */ B(Return), 100 /* 42 S> */ B(Return),
101 ] 101 ]
102 constant pool: [ 102 constant pool: [
103 ONE_BYTE_INTERNALIZED_STRING_TYPE ["b"], 103 ONE_BYTE_INTERNALIZED_STRING_TYPE ["b"],
104 ] 104 ]
105 handlers: [ 105 handlers: [
106 ] 106 ]
107 107
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698