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

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

Issue 2640273002: [ignition] Expect 'I' for signed bytecode operands (Closed)
Patch Set: Rebase Created 3 years, 11 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 let x = 10; 10 let x = 10;
11 " 11 "
12 frame size: 1 12 frame size: 1
13 parameter count: 1 13 parameter count: 1
14 bytecode array length: 10 14 bytecode array length: 10
15 bytecodes: [ 15 bytecodes: [
16 B(LdaTheHole), 16 B(LdaTheHole),
17 B(Star), R(0), 17 B(Star), R(0),
18 /* 30 E> */ B(StackCheck), 18 /* 30 E> */ B(StackCheck),
19 /* 42 S> */ B(LdaSmi), U8(10), 19 /* 42 S> */ B(LdaSmi), I8(10),
20 B(Star), R(0), 20 B(Star), R(0),
21 B(LdaUndefined), 21 B(LdaUndefined),
22 /* 46 S> */ B(Return), 22 /* 46 S> */ B(Return),
23 ] 23 ]
24 constant pool: [ 24 constant pool: [
25 ] 25 ]
26 handlers: [ 26 handlers: [
27 ] 27 ]
28 28
29 --- 29 ---
30 snippet: " 30 snippet: "
31 let x = 10; return x; 31 let x = 10; return x;
32 " 32 "
33 frame size: 1 33 frame size: 1
34 parameter count: 1 34 parameter count: 1
35 bytecode array length: 10 35 bytecode array length: 10
36 bytecodes: [ 36 bytecodes: [
37 B(LdaTheHole), 37 B(LdaTheHole),
38 B(Star), R(0), 38 B(Star), R(0),
39 /* 30 E> */ B(StackCheck), 39 /* 30 E> */ B(StackCheck),
40 /* 42 S> */ B(LdaSmi), U8(10), 40 /* 42 S> */ B(LdaSmi), I8(10),
41 B(Star), R(0), 41 B(Star), R(0),
42 /* 46 S> */ B(Nop), 42 /* 46 S> */ B(Nop),
43 /* 56 S> */ B(Return), 43 /* 56 S> */ B(Return),
44 ] 44 ]
45 constant pool: [ 45 constant pool: [
46 ] 46 ]
47 handlers: [ 47 handlers: [
48 ] 48 ]
49 49
50 --- 50 ---
51 snippet: " 51 snippet: "
52 let x = (x = 20); 52 let x = (x = 20);
53 " 53 "
54 frame size: 3 54 frame size: 3
55 parameter count: 1 55 parameter count: 1
56 bytecode array length: 29 56 bytecode array length: 29
57 bytecodes: [ 57 bytecodes: [
58 B(LdaTheHole), 58 B(LdaTheHole),
59 B(Star), R(0), 59 B(Star), R(0),
60 /* 30 E> */ B(StackCheck), 60 /* 30 E> */ B(StackCheck),
61 /* 45 S> */ B(LdaSmi), U8(20), 61 /* 45 S> */ B(LdaSmi), I8(20),
62 B(Star), R(1), 62 B(Star), R(1),
63 B(Ldar), R(0), 63 B(Ldar), R(0),
64 B(JumpIfNotHole), U8(11), 64 B(JumpIfNotHole), U8(11),
65 B(LdaConstant), U8(0), 65 B(LdaConstant), U8(0),
66 B(Star), R(2), 66 B(Star), R(2),
67 /* 45 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), 67 /* 45 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1),
68 B(Mov), R(1), R(0), 68 B(Mov), R(1), R(0),
69 B(Mov), R(1), R(0), 69 B(Mov), R(1), R(0),
70 B(LdaUndefined), 70 B(LdaUndefined),
71 /* 52 S> */ B(Return), 71 /* 52 S> */ B(Return),
72 ] 72 ]
73 constant pool: [ 73 constant pool: [
74 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], 74 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
75 ] 75 ]
76 handlers: [ 76 handlers: [
77 ] 77 ]
78 78
79 --- 79 ---
80 snippet: " 80 snippet: "
81 let x = 10; x = 20; 81 let x = 10; x = 20;
82 " 82 "
83 frame size: 1 83 frame size: 1
84 parameter count: 1 84 parameter count: 1
85 bytecode array length: 14 85 bytecode array length: 14
86 bytecodes: [ 86 bytecodes: [
87 B(LdaTheHole), 87 B(LdaTheHole),
88 B(Star), R(0), 88 B(Star), R(0),
89 /* 30 E> */ B(StackCheck), 89 /* 30 E> */ B(StackCheck),
90 /* 42 S> */ B(LdaSmi), U8(10), 90 /* 42 S> */ B(LdaSmi), I8(10),
91 B(Star), R(0), 91 B(Star), R(0),
92 /* 46 S> */ B(LdaSmi), U8(20), 92 /* 46 S> */ B(LdaSmi), I8(20),
93 B(Star), R(0), 93 B(Star), R(0),
94 B(LdaUndefined), 94 B(LdaUndefined),
95 /* 54 S> */ B(Return), 95 /* 54 S> */ B(Return),
96 ] 96 ]
97 constant pool: [ 97 constant pool: [
98 ] 98 ]
99 handlers: [ 99 handlers: [
100 ] 100 ]
101 101
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698