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

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

Issue 2707873002: Collect type profile for DevTools. (Closed)
Patch Set: Use constructor name if available. 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 let x = 10; function f1() {return x;} 10 let x = 10; function f1() {return x;}
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 constant pool: [ 54 constant pool: [
55 SHARED_FUNCTION_INFO_TYPE, 55 SHARED_FUNCTION_INFO_TYPE,
56 ] 56 ]
57 handlers: [ 57 handlers: [
58 ] 58 ]
59 59
60 --- 60 ---
61 snippet: " 61 snippet: "
62 let x = (x = 20); function f1() {return x;} 62 let x = (x = 20); function f1() {return x;}
63 " 63 "
64 frame size: 4 64 frame size: 6
65 parameter count: 1 65 parameter count: 1
66 bytecode array length: 39 66 bytecode array length: 39
67 bytecodes: [ 67 bytecodes: [
68 B(CreateFunctionContext), U8(1), 68 B(CreateFunctionContext), U8(1),
69 B(PushContext), R(1), 69 B(PushContext), R(1),
70 B(LdaTheHole), 70 B(LdaTheHole),
71 B(StaCurrentContextSlot), U8(4), 71 B(StaCurrentContextSlot), U8(4),
72 B(CreateClosure), U8(0), U8(2), U8(2), 72 B(CreateClosure), U8(0), U8(2), U8(2),
73 B(Star), R(0), 73 B(Star), R(0),
74 /* 30 E> */ B(StackCheck), 74 /* 30 E> */ B(StackCheck),
75 /* 45 S> */ B(LdaSmi), I8(20), 75 /* 45 S> */ B(LdaSmi), I8(20),
76 B(Star), R(2), 76 B(Star), R(4),
77 B(LdaCurrentContextSlot), U8(4), 77 B(LdaCurrentContextSlot), U8(4),
78 B(JumpIfNotHole), U8(11), 78 B(JumpIfNotHole), U8(11),
79 B(LdaConstant), U8(1), 79 B(LdaConstant), U8(1),
80 B(Star), R(3), 80 B(Star), R(5),
81 /* 45 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(3), U8(1), 81 /* 45 E> */ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(5), U8(1),
82 B(Ldar), R(2), 82 B(Ldar), R(4),
83 B(StaCurrentContextSlot), U8(4), 83 B(StaCurrentContextSlot), U8(4),
84 /* 45 E> */ B(StaCurrentContextSlot), U8(4), 84 /* 45 E> */ B(StaCurrentContextSlot), U8(4),
85 B(LdaUndefined), 85 B(LdaUndefined),
86 /* 78 S> */ B(Return), 86 /* 78 S> */ B(Return),
87 ] 87 ]
88 constant pool: [ 88 constant pool: [
89 SHARED_FUNCTION_INFO_TYPE, 89 SHARED_FUNCTION_INFO_TYPE,
90 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], 90 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
91 ] 91 ]
92 handlers: [ 92 handlers: [
(...skipping 20 matching lines...) Expand all
113 /* 48 E> */ B(StaCurrentContextSlot), U8(4), 113 /* 48 E> */ B(StaCurrentContextSlot), U8(4),
114 B(LdaUndefined), 114 B(LdaUndefined),
115 /* 80 S> */ B(Return), 115 /* 80 S> */ B(Return),
116 ] 116 ]
117 constant pool: [ 117 constant pool: [
118 SHARED_FUNCTION_INFO_TYPE, 118 SHARED_FUNCTION_INFO_TYPE,
119 ] 119 ]
120 handlers: [ 120 handlers: [
121 ] 121 ]
122 122
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698