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

Side by Side Diff: src/compiler/bytecode-graph-builder.h

Issue 2485383002: [Interpreter] Remove Ldr[Named/Keyed]Property bytecodes and use Star Lookahead instead. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | src/compiler/bytecode-graph-builder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 5 #ifndef V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
6 #define V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 6 #define V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
7 7
8 #include "src/compiler/bytecode-branch-analysis.h" 8 #include "src/compiler/bytecode-branch-analysis.h"
9 #include "src/compiler/bytecode-loop-analysis.h" 9 #include "src/compiler/bytecode-loop-analysis.h"
10 #include "src/compiler/js-graph.h" 10 #include "src/compiler/js-graph.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 // Computes register liveness and replaces dead ones in frame states with the 132 // Computes register liveness and replaces dead ones in frame states with the
133 // undefined values. 133 // undefined values.
134 void ClearNonLiveSlotsInFrameStates(); 134 void ClearNonLiveSlotsInFrameStates();
135 135
136 void BuildCreateArguments(CreateArgumentsType type); 136 void BuildCreateArguments(CreateArgumentsType type);
137 Node* BuildLoadContextSlot(); 137 Node* BuildLoadContextSlot();
138 Node* BuildLoadCurrentContextSlot(); 138 Node* BuildLoadCurrentContextSlot();
139 Node* BuildLoadGlobal(uint32_t feedback_slot_index, TypeofMode typeof_mode); 139 Node* BuildLoadGlobal(uint32_t feedback_slot_index, TypeofMode typeof_mode);
140 void BuildStoreGlobal(LanguageMode language_mode); 140 void BuildStoreGlobal(LanguageMode language_mode);
141 Node* BuildNamedLoad();
142 void BuildNamedStore(LanguageMode language_mode); 141 void BuildNamedStore(LanguageMode language_mode);
143 Node* BuildKeyedLoad();
144 void BuildKeyedStore(LanguageMode language_mode); 142 void BuildKeyedStore(LanguageMode language_mode);
145 void BuildLdaLookupSlot(TypeofMode typeof_mode); 143 void BuildLdaLookupSlot(TypeofMode typeof_mode);
146 void BuildLdaLookupContextSlot(TypeofMode typeof_mode); 144 void BuildLdaLookupContextSlot(TypeofMode typeof_mode);
147 void BuildLdaLookupGlobalSlot(TypeofMode typeof_mode); 145 void BuildLdaLookupGlobalSlot(TypeofMode typeof_mode);
148 void BuildStaLookupSlot(LanguageMode language_mode); 146 void BuildStaLookupSlot(LanguageMode language_mode);
149 void BuildCall(TailCallMode tail_call_mode, 147 void BuildCall(TailCallMode tail_call_mode,
150 ConvertReceiverMode receiver_hint); 148 ConvertReceiverMode receiver_hint);
151 void BuildThrow(); 149 void BuildThrow();
152 void BuildBinaryOp(const Operator* op); 150 void BuildBinaryOp(const Operator* op);
153 void BuildBinaryOpWithImmediate(const Operator* op); 151 void BuildBinaryOpWithImmediate(const Operator* op);
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 static int const kBinaryOperationSmiHintIndex = 2; 324 static int const kBinaryOperationSmiHintIndex = 2;
327 325
328 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); 326 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder);
329 }; 327 };
330 328
331 } // namespace compiler 329 } // namespace compiler
332 } // namespace internal 330 } // namespace internal
333 } // namespace v8 331 } // namespace v8
334 332
335 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 333 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/bytecode-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698