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

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: Try harder with source positions. 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 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: 46
110 bytecodes: [ 110 bytecodes: [
111 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 111 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(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 /* 30 E> */ B(StackCheck), 115 /* 30 E> */ B(StackCheck),
116 /* 56 S> */ B(LdaSmi), U8(1), 116 /* 56 S> */ B(LdaSmi), U8(1),
117 /* 56 E> */ B(StaContextSlot), R(context), U8(4), 117 /* 56 E> */ 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(Mov), R(closure), R(3),
121 B(Star), R(3),
122 B(CallRuntime), U16(Runtime::kPushBlockContext), R(2), U8(2), 121 B(CallRuntime), U16(Runtime::kPushBlockContext), R(2), U8(2),
123 B(PushContext), R(1), 122 B(PushContext), R(1),
124 B(LdaTheHole), 123 B(LdaTheHole),
125 B(StaContextSlot), R(context), U8(4), 124 B(StaContextSlot), R(context), U8(4),
126 /* 69 S> */ B(LdaSmi), U8(2), 125 /* 69 S> */ B(LdaSmi), U8(2),
127 /* 69 E> */ B(StaContextSlot), R(context), U8(4), 126 /* 69 E> */ B(StaContextSlot), R(context), U8(4),
128 /* 72 S> */ B(CreateClosure), U8(1), U8(0), 127 /* 72 S> */ B(CreateClosure), U8(1), U8(0),
129 B(PopContext), R(0), 128 B(PopContext), R(0),
130 /* 104 S> */ B(Return), 129 /* 104 S> */ B(Return),
131 ] 130 ]
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 /* 3440 E> */ B(Wide), B(StaContextSlot), R16(context), U16(256), 911 /* 3440 E> */ B(Wide), B(StaContextSlot), R16(context), U16(256),
913 /* 3445 S> */ B(Wide), B(LdaContextSlot), R16(context), U16(256), 912 /* 3445 S> */ B(Wide), B(LdaContextSlot), R16(context), U16(256),
914 /* 3454 S> */ B(Return), 913 /* 3454 S> */ 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

Powered by Google App Engine
This is Rietveld 408576698