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

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

Issue 1963663002: [interpreter] Add checks for source position to test-bytecode-generator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix bad implicit cast. Created 4 years, 7 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: 40 16 bytecode array length: 40
17 bytecodes: [ 17 bytecodes: [
18 B(StackCheck), 18 /* 30 E> */ B(StackCheck),
19 B(Mov), R(context), R(1), 19 B(Mov), R(context), R(1),
20 B(LdaSmi), U8(1), 20 /* 40 S> */ B(LdaSmi), U8(1),
21 B(Return), 21 /* 75 S> */ B(Return),
22 B(Star), R(3), 22 B(Star), R(3),
23 B(LdaConstant), U8(0), 23 B(LdaConstant), U8(0),
24 B(Star), R(2), 24 B(Star), R(2),
25 B(Ldar), R(closure), 25 B(Ldar), R(closure),
26 B(Star), R(4), 26 B(Star), 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 B(LdaSmi), U8(2), 32 /* 63 S> */ B(LdaSmi), U8(2),
33 B(PopContext), R(0), 33 B(PopContext), R(0),
34 B(Return), 34 /* 75 S> */ B(Return),
35 B(LdaUndefined), 35 B(LdaUndefined),
36 B(Return), 36 /* 75 S> */ B(Return),
37 ] 37 ]
38 constant pool: [ 38 constant pool: [
39 "e", 39 "e",
40 ] 40 ]
41 handlers: [ 41 handlers: [
42 [4, 7, 7], 42 [4, 7, 7],
43 ] 43 ]
44 44
45 --- 45 ---
46 snippet: " 46 snippet: "
47 var a; 47 var a;
48 try { a = 1 } catch(e1) {}; 48 try { a = 1 } catch(e1) {};
49 try { a = 2 } catch(e2) { a = 3 } 49 try { a = 2 } catch(e2) { a = 3 }
50 " 50 "
51 frame size: 6 51 frame size: 6
52 parameter count: 1 52 parameter count: 1
53 bytecode array length: 81 53 bytecode array length: 81
54 bytecodes: [ 54 bytecodes: [
55 B(StackCheck), 55 /* 30 E> */ B(StackCheck),
56 B(Mov), R(context), R(2), 56 B(Mov), R(context), R(2),
57 B(LdaSmi), U8(1), 57 /* 47 S> */ B(LdaSmi), U8(1),
58 B(Star), R(0), 58 /* 49 E> */ B(Star), R(0),
59 B(Jump), U8(30), 59 B(Jump), U8(30),
60 B(Star), R(4), 60 B(Star), R(4),
61 B(LdaConstant), U8(0), 61 B(LdaConstant), U8(0),
62 B(Star), R(3), 62 B(Star), R(3),
63 B(Ldar), R(closure), 63 B(Ldar), R(closure),
64 B(Star), R(5), 64 B(Star), R(5),
65 B(CallRuntime), U16(Runtime::kPushCatchContext), R(3), U8(3), 65 B(CallRuntime), U16(Runtime::kPushCatchContext), R(3), U8(3),
66 B(Star), R(2), 66 B(Star), R(2),
67 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), 67 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0),
68 B(Ldar), R(2), 68 B(Ldar), R(2),
69 B(PushContext), R(1), 69 B(PushContext), R(1),
70 B(PopContext), R(1), 70 B(PopContext), R(1),
71 B(Mov), R(context), R(2), 71 B(Mov), R(context), R(2),
72 B(LdaSmi), U8(2), 72 /* 75 S> */ B(LdaSmi), U8(2),
73 B(Star), R(0), 73 /* 77 E> */ B(Star), R(0),
74 B(Jump), U8(34), 74 B(Jump), U8(34),
75 B(Star), R(4), 75 B(Star), R(4),
76 B(LdaConstant), U8(1), 76 B(LdaConstant), U8(1),
77 B(Star), R(3), 77 B(Star), R(3),
78 B(Ldar), R(closure), 78 B(Ldar), R(closure),
79 B(Star), R(5), 79 B(Star), R(5),
80 B(CallRuntime), U16(Runtime::kPushCatchContext), R(3), U8(3), 80 B(CallRuntime), U16(Runtime::kPushCatchContext), R(3), U8(3),
81 B(Star), R(2), 81 B(Star), R(2),
82 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0), 82 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0),
83 B(Ldar), R(2), 83 B(Ldar), R(2),
84 B(PushContext), R(1), 84 B(PushContext), R(1),
85 B(LdaSmi), U8(3), 85 /* 95 S> */ B(LdaSmi), U8(3),
86 B(Star), R(0), 86 /* 97 E> */ B(Star), R(0),
87 B(PopContext), R(1), 87 B(PopContext), R(1),
88 B(LdaUndefined), 88 B(LdaUndefined),
89 B(Return), 89 /* 103 S> */ B(Return),
90 ] 90 ]
91 constant pool: [ 91 constant pool: [
92 "e1", 92 "e1",
93 "e2", 93 "e2",
94 ] 94 ]
95 handlers: [ 95 handlers: [
96 [4, 8, 10], 96 [4, 8, 10],
97 [41, 45, 47], 97 [41, 45, 47],
98 ] 98 ]
99 99
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698