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

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

Issue 2640273002: [ignition] Expect 'I' for signed bytecode operands (Closed)
Patch Set: Rebase Created 3 years, 10 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 wrap: yes 6 wrap: yes
7 7
8 --- 8 ---
9 snippet: " 9 snippet: "
10 var a = 1; if (a || a < 0) { return 1; } 10 var a = 1; if (a || a < 0) { return 1; }
11 " 11 "
12 frame size: 1 12 frame size: 1
13 parameter count: 1 13 parameter count: 1
14 bytecode array length: 18 14 bytecode array length: 18
15 bytecodes: [ 15 bytecodes: [
16 /* 30 E> */ B(StackCheck), 16 /* 30 E> */ B(StackCheck),
17 /* 42 S> */ B(LdaSmi), U8(1), 17 /* 42 S> */ B(LdaSmi), I8(1),
18 B(Star), R(0), 18 B(Star), R(0),
19 /* 45 S> */ B(JumpIfToBooleanTrue), U8(8), 19 /* 45 S> */ B(JumpIfToBooleanTrue), U8(8),
20 B(LdaZero), 20 B(LdaZero),
21 /* 56 E> */ B(TestLessThan), R(0), U8(2), 21 /* 56 E> */ B(TestLessThan), R(0), U8(2),
22 B(JumpIfFalse), U8(5), 22 B(JumpIfFalse), U8(5),
23 /* 63 S> */ B(LdaSmi), U8(1), 23 /* 63 S> */ B(LdaSmi), I8(1),
24 /* 75 S> */ B(Return), 24 /* 75 S> */ B(Return),
25 B(LdaUndefined), 25 B(LdaUndefined),
26 /* 75 S> */ B(Return), 26 /* 75 S> */ B(Return),
27 ] 27 ]
28 constant pool: [ 28 constant pool: [
29 ] 29 ]
30 handlers: [ 30 handlers: [
31 ] 31 ]
32 32
33 --- 33 ---
34 snippet: " 34 snippet: "
35 var a = 1; if (a && a < 0) { return 1; } 35 var a = 1; if (a && a < 0) { return 1; }
36 " 36 "
37 frame size: 1 37 frame size: 1
38 parameter count: 1 38 parameter count: 1
39 bytecode array length: 18 39 bytecode array length: 18
40 bytecodes: [ 40 bytecodes: [
41 /* 30 E> */ B(StackCheck), 41 /* 30 E> */ B(StackCheck),
42 /* 42 S> */ B(LdaSmi), U8(1), 42 /* 42 S> */ B(LdaSmi), I8(1),
43 B(Star), R(0), 43 B(Star), R(0),
44 /* 45 S> */ B(JumpIfToBooleanFalse), U8(11), 44 /* 45 S> */ B(JumpIfToBooleanFalse), U8(11),
45 B(LdaZero), 45 B(LdaZero),
46 /* 56 E> */ B(TestLessThan), R(0), U8(2), 46 /* 56 E> */ B(TestLessThan), R(0), U8(2),
47 B(JumpIfFalse), U8(5), 47 B(JumpIfFalse), U8(5),
48 /* 63 S> */ B(LdaSmi), U8(1), 48 /* 63 S> */ B(LdaSmi), I8(1),
49 /* 75 S> */ B(Return), 49 /* 75 S> */ B(Return),
50 B(LdaUndefined), 50 B(LdaUndefined),
51 /* 75 S> */ B(Return), 51 /* 75 S> */ B(Return),
52 ] 52 ]
53 constant pool: [ 53 constant pool: [
54 ] 54 ]
55 handlers: [ 55 handlers: [
56 ] 56 ]
57 57
58 --- 58 ---
59 snippet: " 59 snippet: "
60 var a = 1; a = (a || a < 0) ? 2 : 3; 60 var a = 1; a = (a || a < 0) ? 2 : 3;
61 " 61 "
62 frame size: 1 62 frame size: 1
63 parameter count: 1 63 parameter count: 1
64 bytecode array length: 23 64 bytecode array length: 23
65 bytecodes: [ 65 bytecodes: [
66 /* 30 E> */ B(StackCheck), 66 /* 30 E> */ B(StackCheck),
67 /* 42 S> */ B(LdaSmi), U8(1), 67 /* 42 S> */ B(LdaSmi), I8(1),
68 B(Star), R(0), 68 B(Star), R(0),
69 /* 45 S> */ B(JumpIfToBooleanTrue), U8(8), 69 /* 45 S> */ B(JumpIfToBooleanTrue), U8(8),
70 B(LdaZero), 70 B(LdaZero),
71 /* 57 E> */ B(TestLessThan), R(0), U8(2), 71 /* 57 E> */ B(TestLessThan), R(0), U8(2),
72 B(JumpIfFalse), U8(6), 72 B(JumpIfFalse), U8(6),
73 B(LdaSmi), U8(2), 73 B(LdaSmi), I8(2),
74 B(Jump), U8(4), 74 B(Jump), U8(4),
75 B(LdaSmi), U8(3), 75 B(LdaSmi), I8(3),
76 B(Star), R(0), 76 B(Star), R(0),
77 B(LdaUndefined), 77 B(LdaUndefined),
78 /* 71 S> */ B(Return), 78 /* 71 S> */ B(Return),
79 ] 79 ]
80 constant pool: [ 80 constant pool: [
81 ] 81 ]
82 handlers: [ 82 handlers: [
83 ] 83 ]
84 84
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698