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

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

Issue 2331033002: [interpreter] Merge {OsrPoll} with {Jump} bytecode. (Closed)
Patch Set: One more test. 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: yes 7 wrap: yes
8 8
9 --- 9 ---
10 snippet: " 10 snippet: "
11 var ld_a = 1; 11 var ld_a = 1;
12 while(true) { 12 while(true) {
13 ld_a = ld_a + ld_a; 13 ld_a = ld_a + ld_a;
14 if (ld_a > 10) break; 14 if (ld_a > 10) break;
15 } 15 }
16 return ld_a; 16 return ld_a;
17 " 17 "
18 frame size: 1 18 frame size: 1
19 parameter count: 1 19 parameter count: 1
20 bytecode array length: 27 20 bytecode array length: 28
21 bytecodes: [ 21 bytecodes: [
22 /* 30 E> */ B(StackCheck), 22 /* 30 E> */ B(StackCheck),
23 /* 45 S> */ B(LdaSmi), U8(1), 23 /* 45 S> */ B(LdaSmi), U8(1),
24 B(Star), R(0), 24 B(Star), R(0),
25 /* 48 E> */ B(StackCheck), 25 /* 48 E> */ B(StackCheck),
26 /* 64 S> */ B(Ldar), R(0), 26 /* 64 S> */ B(Ldar), R(0),
27 /* 78 E> */ B(Add), R(0), U8(1), 27 /* 78 E> */ B(Add), R(0), U8(1),
28 B(Star), R(0), 28 B(Star), R(0),
29 /* 86 S> */ B(LdaSmi), U8(10), 29 /* 86 S> */ B(LdaSmi), U8(10),
30 /* 95 E> */ B(TestGreaterThan), R(0), U8(2), 30 /* 95 E> */ B(TestGreaterThan), R(0), U8(2),
31 B(JumpIfFalse), U8(4), 31 B(JumpIfFalse), U8(4),
32 /* 101 S> */ B(Jump), U8(4), 32 /* 101 S> */ B(Jump), U8(5),
33 B(Jump), U8(-17), 33 B(JumpLoop), U8(-17), U8(0),
34 /* 110 S> */ B(Ldar), R(0), 34 /* 110 S> */ B(Ldar), R(0),
35 /* 123 S> */ B(Return), 35 /* 123 S> */ B(Return),
36 ] 36 ]
37 constant pool: [ 37 constant pool: [
38 ] 38 ]
39 handlers: [ 39 handlers: [
40 ] 40 ]
41 41
42 --- 42 ---
43 snippet: " 43 snippet: "
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 /* 64 E> */ B(Add), R(0), U8(1), 88 /* 64 E> */ B(Add), R(0), U8(1),
89 B(Star), R(0), 89 B(Star), R(0),
90 /* 72 S> */ B(Nop), 90 /* 72 S> */ B(Nop),
91 /* 85 S> */ B(Return), 91 /* 85 S> */ B(Return),
92 ] 92 ]
93 constant pool: [ 93 constant pool: [
94 ] 94 ]
95 handlers: [ 95 handlers: [
96 ] 96 ]
97 97
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698