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

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

Issue 2038083002: [Interpreter] Add a simple dead-code elimination bytecode optimizer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_jump_writer
Patch Set: Fix tests 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
« no previous file with comments | « src/v8.gyp ('k') | test/cctest/interpreter/bytecode_expectations/DoExpression.golden » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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: 48 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(Mov), R(closure), R(3), 119 B(Mov), R(closure), R(3),
120 B(CallRuntime), U16(Runtime::kPushBlockContext), R(2), U8(2), 120 B(CallRuntime), U16(Runtime::kPushBlockContext), R(2), U8(2),
121 B(PushContext), R(1), 121 B(PushContext), R(1),
122 B(LdaTheHole), 122 B(LdaTheHole),
123 B(StaContextSlot), R(context), U8(4), 123 B(StaContextSlot), R(context), U8(4),
124 /* 69 S> */ B(LdaSmi), U8(2), 124 /* 69 S> */ B(LdaSmi), U8(2),
125 /* 69 E> */ B(StaContextSlot), R(context), U8(4), 125 /* 69 E> */ B(StaContextSlot), R(context), U8(4),
126 /* 72 S> */ B(CreateClosure), U8(1), U8(0), 126 /* 72 S> */ B(CreateClosure), U8(1), U8(0),
127 B(PopContext), R(0), 127 B(PopContext), R(0),
128 /* 104 S> */ B(Return), 128 /* 104 S> */ B(Return),
129 B(PopContext), R(1),
130 ] 129 ]
131 constant pool: [ 130 constant pool: [
132 InstanceType::FIXED_ARRAY_TYPE, 131 InstanceType::FIXED_ARRAY_TYPE,
133 InstanceType::SHARED_FUNCTION_INFO_TYPE, 132 InstanceType::SHARED_FUNCTION_INFO_TYPE,
134 ] 133 ]
135 handlers: [ 134 handlers: [
136 ] 135 ]
137 136
138 --- 137 ---
139 snippet: " 138 snippet: "
(...skipping 769 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
« no previous file with comments | « src/v8.gyp ('k') | test/cctest/interpreter/bytecode_expectations/DoExpression.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698