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

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

Issue 1985753002: [interpreter] Introduce fused bytecodes for common sequences. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. 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
« 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.h" 8 #include "src/compiler.h"
9 #include "src/compiler/bytecode-branch-analysis.h" 9 #include "src/compiler/bytecode-branch-analysis.h"
10 #include "src/compiler/js-graph.h" 10 #include "src/compiler/js-graph.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 interpreter::Register receiver, size_t arity); 105 interpreter::Register receiver, size_t arity);
106 Node* ProcessCallNewArguments(const Operator* call_new_op, Node* callee, 106 Node* ProcessCallNewArguments(const Operator* call_new_op, Node* callee,
107 Node* new_target, 107 Node* new_target,
108 interpreter::Register first_arg, size_t arity); 108 interpreter::Register first_arg, size_t arity);
109 Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op, 109 Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op,
110 interpreter::Register first_arg, 110 interpreter::Register first_arg,
111 size_t arity); 111 size_t arity);
112 112
113 void BuildCreateLiteral(const Operator* op); 113 void BuildCreateLiteral(const Operator* op);
114 void BuildCreateArguments(CreateArgumentsType type); 114 void BuildCreateArguments(CreateArgumentsType type);
115 void BuildLoadGlobal(TypeofMode typeof_mode); 115 Node* BuildLoadContextSlot();
116 Node* BuildLoadGlobal(TypeofMode typeof_mode);
116 void BuildStoreGlobal(LanguageMode language_mode); 117 void BuildStoreGlobal(LanguageMode language_mode);
117 void BuildNamedLoad(); 118 Node* BuildNamedLoad();
118 void BuildKeyedLoad();
119 void BuildNamedStore(LanguageMode language_mode); 119 void BuildNamedStore(LanguageMode language_mode);
120 Node* BuildKeyedLoad();
120 void BuildKeyedStore(LanguageMode language_mode); 121 void BuildKeyedStore(LanguageMode language_mode);
121 void BuildLdaLookupSlot(TypeofMode typeof_mode); 122 void BuildLdaLookupSlot(TypeofMode typeof_mode);
122 void BuildStaLookupSlot(LanguageMode language_mode); 123 void BuildStaLookupSlot(LanguageMode language_mode);
123 void BuildCall(TailCallMode tail_call_mode); 124 void BuildCall(TailCallMode tail_call_mode);
124 void BuildThrow(); 125 void BuildThrow();
125 void BuildBinaryOp(const Operator* op); 126 void BuildBinaryOp(const Operator* op);
126 void BuildCompareOp(const Operator* op); 127 void BuildCompareOp(const Operator* op);
127 void BuildDelete(LanguageMode language_mode); 128 void BuildDelete(LanguageMode language_mode);
128 void BuildCastOperator(const Operator* op); 129 void BuildCastOperator(const Operator* op);
129 void BuildForInPrepare(); 130 void BuildForInPrepare();
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 ZoneVector<Node*> exit_controls_; 245 ZoneVector<Node*> exit_controls_;
245 246
246 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); 247 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder);
247 }; 248 };
248 249
249 } // namespace compiler 250 } // namespace compiler
250 } // namespace internal 251 } // namespace internal
251 } // namespace v8 252 } // namespace v8
252 253
253 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 254 #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