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

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

Issue 1456453002: [Interpreter] Add support for Call bytecode to bytecode graph builder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Compilation fix (signed/unsigned). Created 5 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.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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 Node** EnsureInputBufferSize(int size); 85 Node** EnsureInputBufferSize(int size);
86 86
87 void UpdateControlDependencyToLeaveFunction(Node* exit); 87 void UpdateControlDependencyToLeaveFunction(Node* exit);
88 88
89 void BuildBinaryOp(const Operator* op, 89 void BuildBinaryOp(const Operator* op,
90 const interpreter::BytecodeArrayIterator& iterator); 90 const interpreter::BytecodeArrayIterator& iterator);
91 91
92 void BuildNamedLoad(const interpreter::BytecodeArrayIterator& iterator); 92 void BuildNamedLoad(const interpreter::BytecodeArrayIterator& iterator);
93 93
94 Node* ProcessCallArguments(const Operator* call_op,
95 interpreter::Register callee,
96 interpreter::Register receiver, size_t arity);
97
98 void BuildCall(const interpreter::BytecodeArrayIterator& iterator);
99
94 // Growth increment for the temporary buffer used to construct input lists to 100 // Growth increment for the temporary buffer used to construct input lists to
95 // new nodes. 101 // new nodes.
96 static const int kInputBufferSizeIncrement = 64; 102 static const int kInputBufferSizeIncrement = 64;
97 103
98 // Field accessors 104 // Field accessors
99 CommonOperatorBuilder* common() const { return jsgraph_->common(); } 105 CommonOperatorBuilder* common() const { return jsgraph_->common(); }
100 Zone* graph_zone() const { return graph()->zone(); } 106 Zone* graph_zone() const { return graph()->zone(); }
101 CompilationInfo* info() const { return info_; } 107 CompilationInfo* info() const { return info_; }
102 JSGraph* jsgraph() const { return jsgraph_; } 108 JSGraph* jsgraph() const { return jsgraph_; }
103 JSOperatorBuilder* javascript() const { return jsgraph_->javascript(); } 109 JSOperatorBuilder* javascript() const { return jsgraph_->javascript(); }
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 NodeVector values_; 199 NodeVector values_;
194 int register_base_; 200 int register_base_;
195 }; 201 };
196 202
197 203
198 } // namespace compiler 204 } // namespace compiler
199 } // namespace internal 205 } // namespace internal
200 } // namespace v8 206 } // namespace v8
201 207
202 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 208 #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