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

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

Issue 2347143002: [interpreter] Add fast path for dynamic global lookups (Closed)
Patch Set: Fix bytecode operand documentation Created 4 years, 3 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 | « 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 void BuildCreateArguments(CreateArgumentsType type); 125 void BuildCreateArguments(CreateArgumentsType type);
126 Node* BuildLoadContextSlot(); 126 Node* BuildLoadContextSlot();
127 Node* BuildLoadGlobal(TypeofMode typeof_mode); 127 Node* BuildLoadGlobal(TypeofMode typeof_mode);
128 void BuildStoreGlobal(LanguageMode language_mode); 128 void BuildStoreGlobal(LanguageMode language_mode);
129 Node* BuildNamedLoad(); 129 Node* BuildNamedLoad();
130 void BuildNamedStore(LanguageMode language_mode); 130 void BuildNamedStore(LanguageMode language_mode);
131 Node* BuildKeyedLoad(); 131 Node* BuildKeyedLoad();
132 void BuildKeyedStore(LanguageMode language_mode); 132 void BuildKeyedStore(LanguageMode language_mode);
133 void BuildLdaLookupSlot(TypeofMode typeof_mode); 133 void BuildLdaLookupSlot(TypeofMode typeof_mode);
134 void BuildLdaLookupContextSlot(TypeofMode typeof_mode); 134 void BuildLdaLookupContextSlot(TypeofMode typeof_mode);
135 void BuildLdaLookupGlobalSlot(TypeofMode typeof_mode);
135 void BuildStaLookupSlot(LanguageMode language_mode); 136 void BuildStaLookupSlot(LanguageMode language_mode);
136 void BuildCall(TailCallMode tail_call_mode); 137 void BuildCall(TailCallMode tail_call_mode);
137 void BuildThrow(); 138 void BuildThrow();
138 void BuildBinaryOp(const Operator* op); 139 void BuildBinaryOp(const Operator* op);
139 void BuildBinaryOpWithImmediate(const Operator* op); 140 void BuildBinaryOpWithImmediate(const Operator* op);
140 void BuildCompareOp(const Operator* op); 141 void BuildCompareOp(const Operator* op);
141 void BuildDelete(LanguageMode language_mode); 142 void BuildDelete(LanguageMode language_mode);
142 void BuildCastOperator(const Operator* op); 143 void BuildCastOperator(const Operator* op);
143 void BuildForInPrepare(); 144 void BuildForInPrepare();
144 void BuildForInNext(); 145 void BuildForInNext();
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 static int const kBinaryOperationSmiHintIndex = 2; 303 static int const kBinaryOperationSmiHintIndex = 2;
303 304
304 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); 305 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder);
305 }; 306 };
306 307
307 } // namespace compiler 308 } // namespace compiler
308 } // namespace internal 309 } // namespace internal
309 } // namespace v8 310 } // namespace v8
310 311
311 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 312 #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