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

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

Issue 2684993002: [interpreter] Create custom call opcodes for specific argument counts (Closed)
Patch Set: Fix golden files again Created 3 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 wrap: no 6 wrap: no
7 module: yes 7 module: yes
8 top level: yes 8 top level: yes
9 9
10 --- 10 ---
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 /* 32 S> */ B(LdaUndefined), 231 /* 32 S> */ B(LdaUndefined),
232 B(Star), R(5), 232 B(Star), R(5),
233 /* 32 E> */ B(LdaModuleVariable), I8(-1), U8(0), 233 /* 32 E> */ B(LdaModuleVariable), I8(-1), U8(0),
234 B(JumpIfNotHole), U8(11), 234 B(JumpIfNotHole), U8(11),
235 B(LdaConstant), U8(1), 235 B(LdaConstant), U8(1),
236 B(Star), R(6), 236 B(Star), R(6),
237 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1), 237 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1),
238 B(Star), R(4), 238 B(Star), R(4),
239 B(LdaSmi), I8(42), 239 B(LdaSmi), I8(42),
240 B(Star), R(6), 240 B(Star), R(6),
241 /* 32 E> */ B(Call), R(4), R(5), U8(2), U8(2), 241 /* 32 E> */ B(Call1), R(4), R(5), R(6), U8(2),
242 B(Ldar), R(closure), 242 B(Ldar), R(closure),
243 B(CreateBlockContext), U8(2), 243 B(CreateBlockContext), U8(2),
244 B(PushContext), R(1), 244 B(PushContext), R(1),
245 B(LdaTheHole), 245 B(LdaTheHole),
246 B(StaCurrentContextSlot), U8(4), 246 B(StaCurrentContextSlot), U8(4),
247 /* 47 S> */ B(LdaUndefined), 247 /* 47 S> */ B(LdaUndefined),
248 /* 47 E> */ B(StaCurrentContextSlot), U8(4), 248 /* 47 E> */ B(StaCurrentContextSlot), U8(4),
249 /* 52 S> */ B(LdaUndefined), 249 /* 52 S> */ B(LdaUndefined),
250 B(Star), R(5), 250 B(Star), R(5),
251 /* 52 E> */ B(LdaModuleVariable), I8(-1), U8(1), 251 /* 52 E> */ B(LdaModuleVariable), I8(-1), U8(1),
252 B(JumpIfNotHole), U8(11), 252 B(JumpIfNotHole), U8(11),
253 B(LdaConstant), U8(1), 253 B(LdaConstant), U8(1),
254 B(Star), R(6), 254 B(Star), R(6),
255 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1), 255 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1),
256 B(Star), R(4), 256 B(Star), R(4),
257 B(LdaSmi), I8(42), 257 B(LdaSmi), I8(42),
258 B(Star), R(6), 258 B(Star), R(6),
259 /* 52 E> */ B(Call), R(4), R(5), U8(2), U8(4), 259 /* 52 E> */ B(Call1), R(4), R(5), R(6), U8(4),
260 B(StaContextSlot), R(1), U8(6), U8(0), 260 B(StaContextSlot), R(1), U8(6), U8(0),
261 B(PopContext), R(1), 261 B(PopContext), R(1),
262 B(LdaCurrentContextSlot), U8(6), 262 B(LdaCurrentContextSlot), U8(6),
263 B(Star), R(4), 263 B(Star), R(4),
264 B(LdaTrue), 264 B(LdaTrue),
265 B(Star), R(5), 265 B(Star), R(5),
266 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(4), U8(2), 266 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(4), U8(2),
267 /* 64 S> */ B(Return), 267 /* 64 S> */ B(Return),
268 ] 268 ]
269 constant pool: [ 269 constant pool: [
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 handlers: [ 911 handlers: [
912 ] 912 ]
913 913
914 --- 914 ---
915 snippet: " 915 snippet: "
916 import * as foo from \"bar\" 916 import * as foo from \"bar\"
917 foo.f(foo, foo.x); 917 foo.f(foo, foo.x);
918 " 918 "
919 frame size: 9 919 frame size: 9
920 parameter count: 2 920 parameter count: 2
921 bytecode array length: 182 921 bytecode array length: 183
922 bytecodes: [ 922 bytecodes: [
923 B(Ldar), R(new_target), 923 B(Ldar), R(new_target),
924 B(JumpIfUndefined), U8(28), 924 B(JumpIfUndefined), U8(28),
925 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 925 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1),
926 B(PushContext), R(2), 926 B(PushContext), R(2),
927 B(ResumeGenerator), R(new_target), 927 B(ResumeGenerator), R(new_target),
928 B(Star), R(1), 928 B(Star), R(1),
929 B(LdaZero), 929 B(LdaZero),
930 B(TestEqualStrict), R(1), U8(0), 930 B(TestEqualStrict), R(1), U8(0),
931 B(JumpIfTrue), U8(73), 931 B(JumpIfTrue), U8(73),
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 /* 27 S> */ B(LdaImmutableCurrentContextSlot), U8(6), 982 /* 27 S> */ B(LdaImmutableCurrentContextSlot), U8(6),
983 B(Star), R(4), 983 B(Star), R(4),
984 /* 30 E> */ B(LdaNamedProperty), R(4), U8(1), U8(4), 984 /* 30 E> */ B(LdaNamedProperty), R(4), U8(1), U8(4),
985 B(Star), R(3), 985 B(Star), R(3),
986 B(LdaImmutableCurrentContextSlot), U8(6), 986 B(LdaImmutableCurrentContextSlot), U8(6),
987 B(Star), R(5), 987 B(Star), R(5),
988 B(LdaImmutableCurrentContextSlot), U8(6), 988 B(LdaImmutableCurrentContextSlot), U8(6),
989 B(Star), R(6), 989 B(Star), R(6),
990 /* 41 E> */ B(LdaNamedProperty), R(6), U8(2), U8(6), 990 /* 41 E> */ B(LdaNamedProperty), R(6), U8(2), U8(6),
991 B(Star), R(6), 991 B(Star), R(6),
992 /* 31 E> */ B(CallProperty), R(3), R(4), U8(3), U8(2), 992 /* 31 E> */ B(CallProperty2), R(3), R(4), R(5), R(6), U8(2),
993 B(StaCurrentContextSlot), U8(7), 993 B(StaCurrentContextSlot), U8(7),
994 B(LdaCurrentContextSlot), U8(7), 994 B(LdaCurrentContextSlot), U8(7),
995 B(Star), R(3), 995 B(Star), R(3),
996 B(LdaTrue), 996 B(LdaTrue),
997 B(Star), R(4), 997 B(Star), R(4),
998 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(3), U8(2), 998 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(3), U8(2),
999 /* 45 S> */ B(Return), 999 /* 45 S> */ B(Return),
1000 ] 1000 ]
1001 constant pool: [ 1001 constant pool: [
1002 FIXED_ARRAY_TYPE, 1002 FIXED_ARRAY_TYPE,
1003 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"], 1003 ONE_BYTE_INTERNALIZED_STRING_TYPE ["f"],
1004 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], 1004 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"],
1005 ] 1005 ]
1006 handlers: [ 1006 handlers: [
1007 ] 1007 ]
1008 1008
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698