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

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: 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
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 void BuildLoadGlobal(TypeofMode typeof_mode);
116 void BuildStoreGlobal(LanguageMode language_mode); 116 void BuildStoreGlobal(LanguageMode language_mode);
117 void BuildNamedLoad();
118 void BuildKeyedLoad();
119 void BuildNamedStore(LanguageMode language_mode); 117 void BuildNamedStore(LanguageMode language_mode);
120 void BuildKeyedStore(LanguageMode language_mode); 118 void BuildKeyedStore(LanguageMode language_mode);
121 void BuildLdaLookupSlot(TypeofMode typeof_mode); 119 void BuildLdaLookupSlot(TypeofMode typeof_mode);
122 void BuildStaLookupSlot(LanguageMode language_mode); 120 void BuildStaLookupSlot(LanguageMode language_mode);
123 void BuildCall(TailCallMode tail_call_mode); 121 void BuildCall(TailCallMode tail_call_mode);
124 void BuildThrow(); 122 void BuildThrow();
125 void BuildBinaryOp(const Operator* op); 123 void BuildBinaryOp(const Operator* op);
126 void BuildCompareOp(const Operator* op); 124 void BuildCompareOp(const Operator* op);
127 void BuildDelete(LanguageMode language_mode); 125 void BuildDelete(LanguageMode language_mode);
128 void BuildCastOperator(const Operator* op); 126 void BuildCastOperator(const Operator* op);
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 ZoneVector<Node*> exit_controls_; 242 ZoneVector<Node*> exit_controls_;
245 243
246 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); 244 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder);
247 }; 245 };
248 246
249 } // namespace compiler 247 } // namespace compiler
250 } // namespace internal 248 } // namespace internal
251 } // namespace v8 249 } // namespace v8
252 250
253 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 251 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/bytecode-graph-builder.cc » ('j') | src/compiler/bytecode-graph-builder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698