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

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

Issue 2310103002: [Interpreter] Remove constant pool type in tests (Closed)
Patch Set: Remove warning for pool type 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: string
7 execute: yes 6 execute: yes
8 wrap: yes 7 wrap: yes
9 8
10 --- 9 ---
11 snippet: " 10 snippet: "
12 throw 1; 11 throw 1;
13 " 12 "
14 frame size: 0 13 frame size: 0
15 parameter count: 1 14 parameter count: 1
16 bytecode array length: 4 15 bytecode array length: 4
(...skipping 13 matching lines...) Expand all
30 " 29 "
31 frame size: 0 30 frame size: 0
32 parameter count: 1 31 parameter count: 1
33 bytecode array length: 4 32 bytecode array length: 4
34 bytecodes: [ 33 bytecodes: [
35 /* 30 E> */ B(StackCheck), 34 /* 30 E> */ B(StackCheck),
36 /* 34 S> */ B(LdaConstant), U8(0), 35 /* 34 S> */ B(LdaConstant), U8(0),
37 /* 34 E> */ B(Throw), 36 /* 34 E> */ B(Throw),
38 ] 37 ]
39 constant pool: [ 38 constant pool: [
40 "Error", 39 ONE_BYTE_INTERNALIZED_STRING_TYPE ["Error"],
41 ] 40 ]
42 handlers: [ 41 handlers: [
43 ] 42 ]
44 43
45 --- 44 ---
46 snippet: " 45 snippet: "
47 var a = 1; if (a) { throw 'Error'; }; 46 var a = 1; if (a) { throw 'Error'; };
48 " 47 "
49 frame size: 1 48 frame size: 1
50 parameter count: 1 49 parameter count: 1
51 bytecode array length: 12 50 bytecode array length: 12
52 bytecodes: [ 51 bytecodes: [
53 /* 30 E> */ B(StackCheck), 52 /* 30 E> */ B(StackCheck),
54 /* 42 S> */ B(LdaSmi), U8(1), 53 /* 42 S> */ B(LdaSmi), U8(1),
55 B(Star), R(0), 54 B(Star), R(0),
56 /* 45 S> */ B(JumpIfToBooleanFalse), U8(5), 55 /* 45 S> */ B(JumpIfToBooleanFalse), U8(5),
57 /* 54 S> */ B(LdaConstant), U8(0), 56 /* 54 S> */ B(LdaConstant), U8(0),
58 /* 54 E> */ B(Throw), 57 /* 54 E> */ B(Throw),
59 B(LdaUndefined), 58 B(LdaUndefined),
60 /* 72 S> */ B(Return), 59 /* 72 S> */ B(Return),
61 ] 60 ]
62 constant pool: [ 61 constant pool: [
63 "Error", 62 ONE_BYTE_INTERNALIZED_STRING_TYPE ["Error"],
64 ] 63 ]
65 handlers: [ 64 handlers: [
66 ] 65 ]
67 66
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698