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

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/TryCatch.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 try { return 1; } catch(e) { return 2; } 12 try { return 1; } catch(e) { return 2; }
13 " 13 "
14 frame size: 5 14 frame size: 5
15 parameter count: 1 15 parameter count: 1
16 bytecode array length: 43 16 bytecode array length: 41
17 bytecodes: [ 17 bytecodes: [
18 /* 30 E> */ B(StackCheck), 18 /* 30 E> */ B(StackCheck),
19 B(Mov), R(context), R(1), 19 B(Mov), R(context), R(1),
20 /* 40 S> */ B(LdaSmi), U8(1), 20 /* 40 S> */ B(LdaSmi), U8(1),
21 /* 75 S> */ B(Return), 21 /* 75 S> */ B(Return),
22 B(Jump), U8(34), 22 B(Jump), U8(32),
23 B(Star), R(3), 23 B(Star), R(3),
24 B(LdaConstant), U8(0), 24 B(LdaConstant), U8(0),
25 B(Star), R(2), 25 B(Star), R(2),
26 B(Mov), R(closure), R(4), 26 B(Mov), R(closure), R(4),
27 B(CallRuntime), U16(Runtime::kPushCatchContext), R(2), U8(3), 27 B(CallRuntime), U16(Runtime::kPushCatchContext), R(2), U8(3),
28 B(Star), R(1), 28 B(Star), R(1),
29 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0), 29 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0),
30 B(Ldar), R(1), 30 B(Ldar), R(1),
31 B(PushContext), R(0), 31 B(PushContext), R(0),
32 /* 63 S> */ B(LdaSmi), U8(2), 32 /* 63 S> */ B(LdaSmi), U8(2),
33 B(PopContext), R(0), 33 B(PopContext), R(0),
34 /* 75 S> */ B(Return), 34 /* 75 S> */ B(Return),
35 B(PopContext), R(0),
36 B(LdaUndefined), 35 B(LdaUndefined),
37 /* 75 S> */ B(Return), 36 /* 75 S> */ B(Return),
38 ] 37 ]
39 constant pool: [ 38 constant pool: [
40 "e", 39 "e",
41 ] 40 ]
42 handlers: [ 41 handlers: [
43 [4, 7, 9], 42 [4, 7, 9],
44 ] 43 ]
45 44
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 ] 88 ]
90 constant pool: [ 89 constant pool: [
91 "e1", 90 "e1",
92 "e2", 91 "e2",
93 ] 92 ]
94 handlers: [ 93 handlers: [
95 [4, 8, 10], 94 [4, 8, 10],
96 [40, 44, 46], 95 [40, 44, 46],
97 ] 96 ]
98 97
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698