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

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

Issue 2489513005: [Interpreter] Remove all Ldr style bytecodes and replace with Star lookahead. (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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // Prepare information for lazy deoptimization. This information is attached 127 // Prepare information for lazy deoptimization. This information is attached
128 // to the given node and the output value produced by the node is combined. 128 // to the given node and the output value produced by the node is combined.
129 // Conceptually this frame state is "after" a given operation. 129 // Conceptually this frame state is "after" a given operation.
130 void PrepareFrameState(Node* node, OutputFrameStateCombine combine); 130 void PrepareFrameState(Node* node, OutputFrameStateCombine combine);
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();
138 Node* BuildLoadCurrentContextSlot();
139 Node* BuildLoadGlobal(uint32_t feedback_slot_index, TypeofMode typeof_mode); 137 Node* BuildLoadGlobal(uint32_t feedback_slot_index, TypeofMode typeof_mode);
140 void BuildStoreGlobal(LanguageMode language_mode); 138 void BuildStoreGlobal(LanguageMode language_mode);
141 void BuildNamedStore(LanguageMode language_mode); 139 void BuildNamedStore(LanguageMode language_mode);
142 void BuildKeyedStore(LanguageMode language_mode); 140 void BuildKeyedStore(LanguageMode language_mode);
143 void BuildLdaLookupSlot(TypeofMode typeof_mode); 141 void BuildLdaLookupSlot(TypeofMode typeof_mode);
144 void BuildLdaLookupContextSlot(TypeofMode typeof_mode); 142 void BuildLdaLookupContextSlot(TypeofMode typeof_mode);
145 void BuildLdaLookupGlobalSlot(TypeofMode typeof_mode); 143 void BuildLdaLookupGlobalSlot(TypeofMode typeof_mode);
146 void BuildStaLookupSlot(LanguageMode language_mode); 144 void BuildStaLookupSlot(LanguageMode language_mode);
147 void BuildCall(TailCallMode tail_call_mode, 145 void BuildCall(TailCallMode tail_call_mode,
148 ConvertReceiverMode receiver_hint); 146 ConvertReceiverMode receiver_hint);
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 static int const kBinaryOperationSmiHintIndex = 2; 322 static int const kBinaryOperationSmiHintIndex = 2;
325 323
326 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); 324 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder);
327 }; 325 };
328 326
329 } // namespace compiler 327 } // namespace compiler
330 } // namespace internal 328 } // namespace internal
331 } // namespace v8 329 } // namespace v8
332 330
333 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 331 #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