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

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

Issue 2038083002: [Interpreter] Add a simple dead-code elimination bytecode optimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_jump_writer
Patch Set: Fix tests Created 4 years, 6 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 6 pool type: string
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
11 snippet: " 11 snippet: "
12 throw 1; 12 throw 1;
13 " 13 "
14 frame size: 0 14 frame size: 0
15 parameter count: 1 15 parameter count: 1
16 bytecode array length: 6 16 bytecode array length: 4
17 bytecodes: [ 17 bytecodes: [
18 /* 30 E> */ B(StackCheck), 18 /* 30 E> */ B(StackCheck),
19 /* 34 S> */ B(LdaSmi), U8(1), 19 /* 34 S> */ B(LdaSmi), U8(1),
20 /* 34 E> */ B(Throw), 20 /* 34 E> */ B(Throw),
21 B(LdaUndefined),
22 /* 43 S> */ B(Return),
23 ] 21 ]
24 constant pool: [ 22 constant pool: [
25 ] 23 ]
26 handlers: [ 24 handlers: [
27 ] 25 ]
28 26
29 --- 27 ---
30 snippet: " 28 snippet: "
31 throw 'Error'; 29 throw 'Error';
32 " 30 "
33 frame size: 0 31 frame size: 0
34 parameter count: 1 32 parameter count: 1
35 bytecode array length: 6 33 bytecode array length: 4
36 bytecodes: [ 34 bytecodes: [
37 /* 30 E> */ B(StackCheck), 35 /* 30 E> */ B(StackCheck),
38 /* 34 S> */ B(LdaConstant), U8(0), 36 /* 34 S> */ B(LdaConstant), U8(0),
39 /* 34 E> */ B(Throw), 37 /* 34 E> */ B(Throw),
40 B(LdaUndefined),
41 /* 49 S> */ B(Return),
42 ] 38 ]
43 constant pool: [ 39 constant pool: [
44 "Error", 40 "Error",
45 ] 41 ]
46 handlers: [ 42 handlers: [
47 ] 43 ]
48 44
49 --- 45 ---
50 snippet: " 46 snippet: "
51 var a = 1; if (a) { throw 'Error'; }; 47 var a = 1; if (a) { throw 'Error'; };
(...skipping 10 matching lines...) Expand all
62 /* 54 E> */ B(Throw), 58 /* 54 E> */ B(Throw),
63 B(LdaUndefined), 59 B(LdaUndefined),
64 /* 72 S> */ B(Return), 60 /* 72 S> */ B(Return),
65 ] 61 ]
66 constant pool: [ 62 constant pool: [
67 "Error", 63 "Error",
68 ] 64 ]
69 handlers: [ 65 handlers: [
70 ] 66 ]
71 67
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698