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

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

Issue 1985753002: [interpreter] Introduce fused bytecodes for common sequences. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 7 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 ] 72 ]
73 handlers: [ 73 handlers: [
74 ] 74 ]
75 75
76 --- 76 ---
77 snippet: " 77 snippet: "
78 var a; (function() { a = 2; })(); return a; 78 var a; (function() { a = 2; })(); return a;
79 " 79 "
80 frame size: 3 80 frame size: 3
81 parameter count: 1 81 parameter count: 1
82 bytecode array length: 25 82 bytecode array length: 24
83 bytecodes: [ 83 bytecodes: [
84 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 84 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
85 B(PushContext), R(0), 85 B(PushContext), R(0),
86 /* 30 E> */ B(StackCheck), 86 /* 30 E> */ B(StackCheck),
87 /* 41 S> */ B(LdaUndefined), 87 /* 41 S> */ B(LdrUndefined), R(2),
88 B(Star), R(2),
89 B(CreateClosure), U8(0), U8(0), 88 B(CreateClosure), U8(0), U8(0),
90 B(Star), R(1), 89 B(Star), R(1),
91 /* 64 E> */ B(Call), R(1), R(2), U8(1), U8(1), 90 /* 64 E> */ B(Call), R(1), R(2), U8(1), U8(1),
92 /* 68 S> */ B(LdaContextSlot), R(context), U8(4), 91 /* 68 S> */ B(LdaContextSlot), R(context), U8(4),
93 /* 78 S> */ B(Return), 92 /* 78 S> */ B(Return),
94 ] 93 ]
95 constant pool: [ 94 constant pool: [
96 InstanceType::SHARED_FUNCTION_INFO_TYPE, 95 InstanceType::SHARED_FUNCTION_INFO_TYPE,
97 ] 96 ]
98 handlers: [ 97 handlers: [
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 var a245 = 0; 386 var a245 = 0;
388 var a246 = 0; 387 var a246 = 0;
389 var a247 = 0; 388 var a247 = 0;
390 var a248 = 0; 389 var a248 = 0;
391 eval(); 390 eval();
392 var b = 100; 391 var b = 100;
393 return b 392 return b
394 " 393 "
395 frame size: 3 394 frame size: 3
396 parameter count: 1 395 parameter count: 1
397 bytecode array length: 1046 396 bytecode array length: 1044
398 bytecodes: [ 397 bytecodes: [
399 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 398 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
400 B(PushContext), R(0), 399 B(PushContext), R(0),
401 B(Ldar), R(this), 400 B(Ldar), R(this),
402 B(StaContextSlot), R(context), U8(4), 401 B(StaContextSlot), R(context), U8(4),
403 B(CreateUnmappedArguments), 402 B(CreateUnmappedArguments),
404 B(StaContextSlot), R(context), U8(5), 403 B(StaContextSlot), R(context), U8(5),
405 B(Ldar), R(new_target), 404 B(Ldar), R(new_target),
406 B(StaContextSlot), R(context), U8(6), 405 B(StaContextSlot), R(context), U8(6),
407 /* 30 E> */ B(StackCheck), 406 /* 30 E> */ B(StackCheck),
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 /* 3365 S> */ B(LdaZero), 895 /* 3365 S> */ B(LdaZero),
897 /* 3365 E> */ B(StaContextSlot), R(context), U8(251), 896 /* 3365 E> */ B(StaContextSlot), R(context), U8(251),
898 /* 3379 S> */ B(LdaZero), 897 /* 3379 S> */ B(LdaZero),
899 /* 3379 E> */ B(StaContextSlot), R(context), U8(252), 898 /* 3379 E> */ B(StaContextSlot), R(context), U8(252),
900 /* 3393 S> */ B(LdaZero), 899 /* 3393 S> */ B(LdaZero),
901 /* 3393 E> */ B(StaContextSlot), R(context), U8(253), 900 /* 3393 E> */ B(StaContextSlot), R(context), U8(253),
902 /* 3407 S> */ B(LdaZero), 901 /* 3407 S> */ B(LdaZero),
903 /* 3407 E> */ B(StaContextSlot), R(context), U8(254), 902 /* 3407 E> */ B(StaContextSlot), R(context), U8(254),
904 /* 3421 S> */ B(LdaZero), 903 /* 3421 S> */ B(LdaZero),
905 /* 3421 E> */ B(StaContextSlot), R(context), U8(255), 904 /* 3421 E> */ B(StaContextSlot), R(context), U8(255),
906 /* 3424 S> */ B(LdaUndefined), 905 /* 3424 S> */ B(LdrUndefined), R(2),
907 B(Star), R(2), 906 /* 3424 E> */ B(LdrGlobal), U8(0), U8(1), R(1),
908 /* 3424 E> */ B(LdaGlobal), U8(0), U8(1),
909 B(Star), R(1),
910 /* 3424 E> */ B(Call), R(1), R(2), U8(1), U8(0), 907 /* 3424 E> */ B(Call), R(1), R(2), U8(1), U8(0),
911 /* 3440 S> */ B(LdaSmi), U8(100), 908 /* 3440 S> */ B(LdaSmi), U8(100),
912 /* 3440 E> */ B(Wide), B(StaContextSlot), R16(context), U16(256), 909 /* 3440 E> */ B(Wide), B(StaContextSlot), R16(context), U16(256),
913 /* 3445 S> */ B(Wide), B(LdaContextSlot), R16(context), U16(256), 910 /* 3445 S> */ B(Wide), B(LdaContextSlot), R16(context), U16(256),
914 /* 3454 S> */ B(Return), 911 /* 3454 S> */ B(Return),
915 ] 912 ]
916 constant pool: [ 913 constant pool: [
917 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 914 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
918 ] 915 ]
919 handlers: [ 916 handlers: [
920 ] 917 ]
921 918
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698