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

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

Issue 2369873002: [Interpreter] Replace BytecodeRegisterAllocator with a simple bump pointer. (Closed)
Patch Set: Rebase Created 4 years, 2 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: yes 7 wrap: yes
8 8
9 --- 9 ---
10 snippet: " 10 snippet: "
(...skipping 29 matching lines...) Expand all
40 outer: { 40 outer: {
41 for (var x = 0; x < 10; ++x) { 41 for (var x = 0; x < 10; ++x) {
42 for (var y = 0; y < 3; ++y) { 42 for (var y = 0; y < 3; ++y) {
43 ++sum; 43 ++sum;
44 if (x + y == 12) { break outer; } 44 if (x + y == 12) { break outer; }
45 } 45 }
46 } 46 }
47 } 47 }
48 return sum; 48 return sum;
49 " 49 "
50 frame size: 5 50 frame size: 4
51 parameter count: 1 51 parameter count: 1
52 bytecode array length: 69 52 bytecode array length: 69
53 bytecodes: [ 53 bytecodes: [
54 /* 30 E> */ B(StackCheck), 54 /* 30 E> */ B(StackCheck),
55 /* 44 S> */ B(LdaZero), 55 /* 44 S> */ B(LdaZero),
56 B(Star), R(0), 56 B(Star), R(0),
57 /* 71 S> */ B(LdaZero), 57 /* 71 S> */ B(LdaZero),
58 B(Star), R(1), 58 B(Star), R(1),
59 /* 76 S> */ B(LdaSmi), U8(10), 59 /* 76 S> */ B(LdaSmi), U8(10),
60 /* 76 E> */ B(TestLessThan), R(1), U8(2), 60 /* 76 E> */ B(TestLessThan), R(1), U8(2),
61 B(JumpIfFalse), U8(54), 61 B(JumpIfFalse), U8(54),
62 /* 58 E> */ B(StackCheck), 62 /* 58 E> */ B(StackCheck),
63 /* 106 S> */ B(LdaZero), 63 /* 106 S> */ B(LdaZero),
64 B(Star), R(2), 64 B(Star), R(2),
65 /* 111 S> */ B(LdaSmi), U8(3), 65 /* 111 S> */ B(LdaSmi), U8(3),
66 /* 111 E> */ B(TestLessThan), R(2), U8(4), 66 /* 111 E> */ B(TestLessThan), R(2), U8(4),
67 B(JumpIfFalse), U8(34), 67 B(JumpIfFalse), U8(34),
68 /* 93 E> */ B(StackCheck), 68 /* 93 E> */ B(StackCheck),
69 /* 129 S> */ B(Ldar), R(0), 69 /* 129 S> */ B(Ldar), R(0),
70 B(Inc), U8(6), 70 B(Inc), U8(6),
71 B(Star), R(0), 71 B(Star), R(0),
72 /* 142 S> */ B(Ldar), R(2), 72 /* 142 S> */ B(Ldar), R(2),
73 /* 150 E> */ B(Add), R(1), U8(7), 73 /* 150 E> */ B(Add), R(1), U8(7),
74 B(Star), R(4), 74 B(Star), R(3),
75 B(LdaSmi), U8(12), 75 B(LdaSmi), U8(12),
76 /* 152 E> */ B(TestEqual), R(4), U8(8), 76 /* 152 E> */ B(TestEqual), R(3), U8(8),
77 B(JumpIfFalse), U8(4), 77 B(JumpIfFalse), U8(4),
78 /* 161 S> */ B(Jump), U8(20), 78 /* 161 S> */ B(Jump), U8(20),
79 /* 118 S> */ B(Ldar), R(2), 79 /* 118 S> */ B(Ldar), R(2),
80 B(Inc), U8(5), 80 B(Inc), U8(5),
81 B(Star), R(2), 81 B(Star), R(2),
82 B(JumpLoop), U8(-36), U8(1), 82 B(JumpLoop), U8(-36), U8(1),
83 /* 84 S> */ B(Ldar), R(1), 83 /* 84 S> */ B(Ldar), R(1),
84 B(Inc), U8(3), 84 B(Inc), U8(3),
85 B(Star), R(1), 85 B(Star), R(1),
86 B(JumpLoop), U8(-56), U8(0), 86 B(JumpLoop), U8(-56), U8(0),
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 ] 194 ]
195 constant pool: [ 195 constant pool: [
196 FIXED_ARRAY_TYPE, 196 FIXED_ARRAY_TYPE,
197 SHARED_FUNCTION_INFO_TYPE, 197 SHARED_FUNCTION_INFO_TYPE,
198 ONE_BYTE_INTERNALIZED_STRING_TYPE ["y"], 198 ONE_BYTE_INTERNALIZED_STRING_TYPE ["y"],
199 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], 199 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
200 ] 200 ]
201 handlers: [ 201 handlers: [
202 ] 202 ]
203 203
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698