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

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

Issue 2263253002: [interpreter] Make the binary op with Smi bytecode handlers collect type feedback. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Update. 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 pool type: mixed 6 pool type: mixed
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
11 snippet: " 11 snippet: "
12 var a = 1; a += 2; 12 var a = 1; a += 2;
13 " 13 "
14 frame size: 2 14 frame size: 2
15 parameter count: 1 15 parameter count: 1
16 bytecode array length: 15 16 bytecode array length: 16
17 bytecodes: [ 17 bytecodes: [
18 /* 30 E> */ B(StackCheck), 18 /* 30 E> */ B(StackCheck),
19 /* 42 S> */ B(LdaSmi), U8(1), 19 /* 42 S> */ B(LdaSmi), U8(1),
20 B(Star), R(0), 20 B(Star), R(0),
21 /* 45 S> */ B(AddSmi), U8(2), R(0), 21 /* 45 S> */ B(AddSmi), U8(2), R(0), U8(1),
22 B(Mov), R(0), R(1), 22 B(Mov), R(0), R(1),
23 B(Star), R(0), 23 B(Star), R(0),
24 B(LdaUndefined), 24 B(LdaUndefined),
25 /* 53 S> */ B(Return), 25 /* 53 S> */ B(Return),
26 ] 26 ]
27 constant pool: [ 27 constant pool: [
28 ] 28 ]
29 handlers: [ 29 handlers: [
30 ] 30 ]
31 31
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 ] 102 ]
103 handlers: [ 103 handlers: [
104 ] 104 ]
105 105
106 --- 106 ---
107 snippet: " 107 snippet: "
108 var a = 1; (function f() { return a; }); a |= 24; 108 var a = 1; (function f() { return a; }); a |= 24;
109 " 109 "
110 frame size: 2 110 frame size: 2
111 parameter count: 1 111 parameter count: 1
112 bytecode array length: 25 112 bytecode array length: 26
113 bytecodes: [ 113 bytecodes: [
114 B(CreateFunctionContext), U8(1), 114 B(CreateFunctionContext), U8(1),
115 B(PushContext), R(0), 115 B(PushContext), R(0),
116 /* 30 E> */ B(StackCheck), 116 /* 30 E> */ B(StackCheck),
117 /* 42 S> */ B(LdaSmi), U8(1), 117 /* 42 S> */ B(LdaSmi), U8(1),
118 /* 42 E> */ B(StaContextSlot), R(context), U8(4), 118 /* 42 E> */ B(StaContextSlot), R(context), U8(4),
119 /* 45 S> */ B(CreateClosure), U8(0), U8(2), 119 /* 45 S> */ B(CreateClosure), U8(0), U8(2),
120 /* 75 S> */ B(LdrContextSlot), R(context), U8(4), R(1), 120 /* 75 S> */ B(LdrContextSlot), R(context), U8(4), R(1),
121 B(BitwiseOrSmi), U8(24), R(1), 121 B(BitwiseOrSmi), U8(24), R(1), U8(1),
122 /* 77 E> */ B(StaContextSlot), R(context), U8(4), 122 /* 77 E> */ B(StaContextSlot), R(context), U8(4),
123 B(LdaUndefined), 123 B(LdaUndefined),
124 /* 84 S> */ B(Return), 124 /* 84 S> */ B(Return),
125 ] 125 ]
126 constant pool: [ 126 constant pool: [
127 InstanceType::SHARED_FUNCTION_INFO_TYPE, 127 InstanceType::SHARED_FUNCTION_INFO_TYPE,
128 ] 128 ]
129 handlers: [ 129 handlers: [
130 ] 130 ]
131 131
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698