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

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

Issue 1997653002: [interpreter] Bytecode register optimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Decouple a test from implementation. Created 4 years, 6 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 ] 98 ]
99 99
100 --- 100 ---
101 snippet: " 101 snippet: "
102 'use strict'; 102 'use strict';
103 let a = 1; 103 let a = 1;
104 { let b = 2; return function() { a + b; }; } 104 { let b = 2; return function() { a + b; }; }
105 " 105 "
106 frame size: 4 106 frame size: 4
107 parameter count: 1 107 parameter count: 1
108 bytecode array length: 47 108 bytecode array length: 46
109 bytecodes: [ 109 bytecodes: [
110 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 110 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
111 B(PushContext), R(0), 111 B(PushContext), R(0),
112 B(LdaTheHole), 112 B(LdaTheHole),
113 B(StaContextSlot), R(context), U8(4), 113 B(StaContextSlot), R(context), U8(4),
114 /* 30 E> */ B(StackCheck), 114 /* 30 E> */ B(StackCheck),
115 /* 56 S> */ B(LdaSmi), U8(1), 115 /* 56 S> */ B(LdaSmi), U8(1),
116 /* 56 E> */ B(StaContextSlot), R(context), U8(4), 116 /* 56 E> */ B(StaContextSlot), R(context), U8(4),
117 B(LdaConstant), U8(0), 117 B(LdaConstant), U8(0),
118 B(Star), R(2), 118 B(Star), R(2),
119 B(Ldar), R(closure), 119 B(Mov), R(closure), R(3),
120 B(Star), R(3),
121 B(CallRuntime), U16(Runtime::kPushBlockContext), R(2), U8(2), 120 B(CallRuntime), U16(Runtime::kPushBlockContext), R(2), U8(2),
122 B(PushContext), R(1), 121 B(PushContext), R(1),
123 B(LdaTheHole), 122 B(LdaTheHole),
124 B(StaContextSlot), R(context), U8(4), 123 B(StaContextSlot), R(context), U8(4),
125 /* 69 S> */ B(LdaSmi), U8(2), 124 /* 69 S> */ B(LdaSmi), U8(2),
126 /* 69 E> */ B(StaContextSlot), R(context), U8(4), 125 /* 69 E> */ B(StaContextSlot), R(context), U8(4),
127 /* 72 S> */ B(CreateClosure), U8(1), U8(0), 126 /* 72 S> */ B(CreateClosure), U8(1), U8(0),
128 B(PopContext), R(0), 127 B(PopContext), R(0),
129 /* 104 S> */ B(Return), 128 /* 104 S> */ B(Return),
130 ] 129 ]
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 /* 3440 E> */ B(Wide), B(StaContextSlot), R16(context), U16(256), 908 /* 3440 E> */ B(Wide), B(StaContextSlot), R16(context), U16(256),
910 /* 3445 S> */ B(Wide), B(LdaContextSlot), R16(context), U16(256), 909 /* 3445 S> */ B(Wide), B(LdaContextSlot), R16(context), U16(256),
911 /* 3454 S> */ B(Return), 910 /* 3454 S> */ B(Return),
912 ] 911 ]
913 constant pool: [ 912 constant pool: [
914 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 913 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
915 ] 914 ]
916 handlers: [ 915 handlers: [
917 ] 916 ]
918 917
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698