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

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

Issue 1768123002: [Interpreter] Fixes a bug when popping context to correct level on break/continue. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixes comments 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: 47 109 bytecode array length: 45
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),
130 B(Return), 129 B(Return),
131 ] 130 ]
132 constant pool: [ 131 constant pool: [
133 InstanceType::FIXED_ARRAY_TYPE, 132 InstanceType::FIXED_ARRAY_TYPE,
134 InstanceType::SHARED_FUNCTION_INFO_TYPE, 133 InstanceType::SHARED_FUNCTION_INFO_TYPE,
135 ] 134 ]
136 handlers: [ 135 handlers: [
137 ] 136 ]
138 137
139 --- 138 ---
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 B(StaContextSlotWide), R(context), U16(256), 911 B(StaContextSlotWide), R(context), U16(256),
913 B(LdaContextSlotWide), R(context), U16(256), 912 B(LdaContextSlotWide), R(context), U16(256),
914 B(Return), 913 B(Return),
915 ] 914 ]
916 constant pool: [ 915 constant pool: [
917 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 916 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
918 ] 917 ]
919 handlers: [ 918 handlers: [
920 ] 919 ]
921 920
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | test/cctest/interpreter/bytecode_expectations/TryCatch.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698