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

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

Issue 2677163003: WIP: type profiling. (Closed)
Patch Set: Rebaseline. Created 3 years, 10 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 try { return 1; } catch(e) { return 2; } 10 try { return 1; } catch(e) { return 2; }
(...skipping 30 matching lines...) Expand all
41 ] 41 ]
42 42
43 --- 43 ---
44 snippet: " 44 snippet: "
45 var a; 45 var a;
46 try { a = 1 } catch(e1) {}; 46 try { a = 1 } catch(e1) {};
47 try { a = 2 } catch(e2) { a = 3 } 47 try { a = 2 } catch(e2) { a = 3 }
48 " 48 "
49 frame size: 4 49 frame size: 4
50 parameter count: 1 50 parameter count: 1
51 bytecode array length: 61 51 bytecode array length: 73
52 bytecodes: [ 52 bytecodes: [
53 /* 30 E> */ B(StackCheck), 53 /* 30 E> */ B(StackCheck),
54 B(Mov), R(context), R(2), 54 B(Mov), R(context), R(2),
55 /* 47 S> */ B(LdaSmi), I8(1), 55 /* 47 S> */ B(LdaConstant), U8(0),
56 B(Star), R(3),
57 B(LdaSmi), I8(1),
56 B(Star), R(0), 58 B(Star), R(0),
57 B(Jump), U8(20), 59 B(Jump), U8(20),
58 B(Star), R(3), 60 B(Star), R(3),
59 B(Ldar), R(closure), 61 B(Ldar), R(closure),
60 /* 49 E> */ B(CreateCatchContext), R(3), U8(0), U8(1), 62 /* 49 E> */ B(CreateCatchContext), R(3), U8(1), U8(2),
61 B(Star), R(2), 63 B(Star), R(2),
62 B(LdaTheHole), 64 B(LdaTheHole),
63 B(SetPendingMessage), 65 B(SetPendingMessage),
64 B(Ldar), R(2), 66 B(Ldar), R(2),
65 B(PushContext), R(1), 67 B(PushContext), R(1),
66 B(PopContext), R(1), 68 B(PopContext), R(1),
67 B(Mov), R(context), R(2), 69 B(Mov), R(context), R(2),
68 /* 75 S> */ B(LdaSmi), I8(2), 70 /* 75 S> */ B(LdaConstant), U8(0),
71 B(Star), R(3),
72 B(LdaSmi), I8(2),
69 B(Star), R(0), 73 B(Star), R(0),
70 B(Jump), U8(24), 74 B(Jump), U8(28),
71 B(Star), R(3), 75 B(Star), R(3),
72 B(Ldar), R(closure), 76 B(Ldar), R(closure),
73 /* 77 E> */ B(CreateCatchContext), R(3), U8(2), U8(3), 77 /* 77 E> */ B(CreateCatchContext), R(3), U8(3), U8(4),
74 B(Star), R(2), 78 B(Star), R(2),
75 B(LdaTheHole), 79 B(LdaTheHole),
76 B(SetPendingMessage), 80 B(SetPendingMessage),
77 B(Ldar), R(2), 81 B(Ldar), R(2),
78 B(PushContext), R(1), 82 B(PushContext), R(1),
79 /* 95 S> */ B(LdaSmi), I8(3), 83 /* 95 S> */ B(LdaConstant), U8(0),
84 B(Star), R(3),
85 B(LdaSmi), I8(3),
80 B(Star), R(0), 86 B(Star), R(0),
81 B(PopContext), R(1), 87 B(PopContext), R(1),
82 B(LdaUndefined), 88 B(LdaUndefined),
83 /* 103 S> */ B(Return), 89 /* 103 S> */ B(Return),
84 ] 90 ]
85 constant pool: [ 91 constant pool: [
92 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
86 ONE_BYTE_INTERNALIZED_STRING_TYPE ["e1"], 93 ONE_BYTE_INTERNALIZED_STRING_TYPE ["e1"],
87 FIXED_ARRAY_TYPE, 94 FIXED_ARRAY_TYPE,
88 ONE_BYTE_INTERNALIZED_STRING_TYPE ["e2"], 95 ONE_BYTE_INTERNALIZED_STRING_TYPE ["e2"],
89 FIXED_ARRAY_TYPE, 96 FIXED_ARRAY_TYPE,
90 ] 97 ]
91 handlers: [ 98 handlers: [
92 [4, 8, 10], 99 [4, 12, 14],
93 [31, 35, 37], 100 [35, 43, 45],
94 ] 101 ]
95 102
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698