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

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

Issue 1503963002: [Interpreter] Adds wide variant of CreateLiterals. Adds CreateLiterals to BytecodeGraphBuilder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: renamed BuildLiteral to BuildCreateLiteral. Created 5 years 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/js-graph.h" 9 #include "src/compiler/js-graph.h"
10 #include "src/interpreter/bytecode-array-iterator.h" 10 #include "src/interpreter/bytecode-array-iterator.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 Node* ProcessCallArguments(const Operator* call_op, Node* callee, 101 Node* ProcessCallArguments(const Operator* call_op, Node* callee,
102 interpreter::Register receiver, size_t arity); 102 interpreter::Register receiver, size_t arity);
103 Node* ProcessCallNewArguments(const Operator* call_new_op, 103 Node* ProcessCallNewArguments(const Operator* call_new_op,
104 interpreter::Register callee, 104 interpreter::Register callee,
105 interpreter::Register first_arg, size_t arity); 105 interpreter::Register first_arg, size_t arity);
106 Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op, 106 Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op,
107 interpreter::Register first_arg, 107 interpreter::Register first_arg,
108 size_t arity); 108 size_t arity);
109 109
110 void BuildCreateLiteral(const Operator* op);
111 void BuildCreateRegExpLiteral(
112 const interpreter::BytecodeArrayIterator& iterator);
113 void BuildCreateArrayLiteral(
114 const interpreter::BytecodeArrayIterator& iterator);
115 void BuildCreateObjectLiteral(
116 const interpreter::BytecodeArrayIterator& iterator);
110 void BuildLoadGlobal(const interpreter::BytecodeArrayIterator& iterator, 117 void BuildLoadGlobal(const interpreter::BytecodeArrayIterator& iterator,
111 TypeofMode typeof_mode); 118 TypeofMode typeof_mode);
112 void BuildStoreGlobal(const interpreter::BytecodeArrayIterator& iterator); 119 void BuildStoreGlobal(const interpreter::BytecodeArrayIterator& iterator);
113 void BuildNamedLoad(const interpreter::BytecodeArrayIterator& iterator); 120 void BuildNamedLoad(const interpreter::BytecodeArrayIterator& iterator);
114 void BuildKeyedLoad(const interpreter::BytecodeArrayIterator& iterator); 121 void BuildKeyedLoad(const interpreter::BytecodeArrayIterator& iterator);
115 void BuildNamedStore(const interpreter::BytecodeArrayIterator& iterator); 122 void BuildNamedStore(const interpreter::BytecodeArrayIterator& iterator);
116 void BuildKeyedStore(const interpreter::BytecodeArrayIterator& iterator); 123 void BuildKeyedStore(const interpreter::BytecodeArrayIterator& iterator);
117 void BuildCall(const interpreter::BytecodeArrayIterator& iterator); 124 void BuildCall(const interpreter::BytecodeArrayIterator& iterator);
118 void BuildBinaryOp(const Operator* op, 125 void BuildBinaryOp(const Operator* op,
119 const interpreter::BytecodeArrayIterator& iterator); 126 const interpreter::BytecodeArrayIterator& iterator);
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 NodeVector values_; 234 NodeVector values_;
228 int register_base_; 235 int register_base_;
229 }; 236 };
230 237
231 238
232 } // namespace compiler 239 } // namespace compiler
233 } // namespace internal 240 } // namespace internal
234 } // namespace v8 241 } // namespace v8
235 242
236 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 243 #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