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

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

Issue 1796893002: [Interpreter] Pops the context to the correct level on return. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased the patch. Created 4 years, 9 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: mixed 6 pool type: mixed
7 execute: yes 7 execute: yes
8 wrap: yes 8 wrap: yes
9 9
10 --- 10 ---
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 ] 99 ]
100 100
101 --- 101 ---
102 snippet: " 102 snippet: "
103 'use strict'; 103 'use strict';
104 let a = 1; 104 let a = 1;
105 { let b = 2; return function() { a + b; }; } 105 { let b = 2; return function() { a + b; }; }
106 " 106 "
107 frame size: 4 107 frame size: 4
108 parameter count: 1 108 parameter count: 1
109 bytecode array length: 45 109 bytecode array length: 47
110 bytecodes: [ 110 bytecodes: [
111 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), 111 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
112 B(PushContext), R(0), 112 B(PushContext), R(0),
113 B(LdaTheHole), 113 B(LdaTheHole),
114 B(StaContextSlot), R(context), U8(4), 114 B(StaContextSlot), R(context), U8(4),
115 B(StackCheck), 115 B(StackCheck),
116 B(LdaSmi8), U8(1), 116 B(LdaSmi8), U8(1),
117 B(StaContextSlot), R(context), U8(4), 117 B(StaContextSlot), R(context), U8(4),
118 B(LdaConstant), U8(0), 118 B(LdaConstant), U8(0),
119 B(Star), R(2), 119 B(Star), R(2),
120 B(Ldar), R(closure), 120 B(Ldar), R(closure),
121 B(Star), R(3), 121 B(Star), R(3),
122 B(CallRuntime), U16(Runtime::kPushBlockContext), R(2), U8(2), 122 B(CallRuntime), U16(Runtime::kPushBlockContext), R(2), U8(2),
123 B(PushContext), R(1), 123 B(PushContext), R(1),
124 B(LdaTheHole), 124 B(LdaTheHole),
125 B(StaContextSlot), R(context), U8(4), 125 B(StaContextSlot), R(context), U8(4),
126 B(LdaSmi8), U8(2), 126 B(LdaSmi8), U8(2),
127 B(StaContextSlot), R(context), U8(4), 127 B(StaContextSlot), R(context), U8(4),
128 B(CreateClosure), U8(1), U8(0), 128 B(CreateClosure), U8(1), U8(0),
129 B(PopContext), R(0),
129 B(Return), 130 B(Return),
130 ] 131 ]
131 constant pool: [ 132 constant pool: [
132 InstanceType::FIXED_ARRAY_TYPE, 133 InstanceType::FIXED_ARRAY_TYPE,
133 InstanceType::SHARED_FUNCTION_INFO_TYPE, 134 InstanceType::SHARED_FUNCTION_INFO_TYPE,
134 ] 135 ]
135 handlers: [ 136 handlers: [
136 ] 137 ]
137 138
138 --- 139 ---
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 B(StaContextSlotWide), R(context), U16(256), 912 B(StaContextSlotWide), R(context), U16(256),
912 B(LdaContextSlotWide), R(context), U16(256), 913 B(LdaContextSlotWide), R(context), U16(256),
913 B(Return), 914 B(Return),
914 ] 915 ]
915 constant pool: [ 916 constant pool: [
916 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 917 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
917 ] 918 ]
918 handlers: [ 919 handlers: [
919 ] 920 ]
920 921
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698