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

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

Issue 1476473005: [Interpreter] Add support for compare operators to bytecode graph builder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed compile error on linux_gcc bot. 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
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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 void BuildLoadGlobal(const interpreter::BytecodeArrayIterator& iterator, 110 void BuildLoadGlobal(const interpreter::BytecodeArrayIterator& iterator,
111 TypeofMode typeof_mode); 111 TypeofMode typeof_mode);
112 void BuildStoreGlobal(const interpreter::BytecodeArrayIterator& iterator); 112 void BuildStoreGlobal(const interpreter::BytecodeArrayIterator& iterator);
113 void BuildNamedLoad(const interpreter::BytecodeArrayIterator& iterator); 113 void BuildNamedLoad(const interpreter::BytecodeArrayIterator& iterator);
114 void BuildKeyedLoad(const interpreter::BytecodeArrayIterator& iterator); 114 void BuildKeyedLoad(const interpreter::BytecodeArrayIterator& iterator);
115 void BuildNamedStore(const interpreter::BytecodeArrayIterator& iterator); 115 void BuildNamedStore(const interpreter::BytecodeArrayIterator& iterator);
116 void BuildKeyedStore(const interpreter::BytecodeArrayIterator& iterator); 116 void BuildKeyedStore(const interpreter::BytecodeArrayIterator& iterator);
117 void BuildCall(const interpreter::BytecodeArrayIterator& iterator); 117 void BuildCall(const interpreter::BytecodeArrayIterator& iterator);
118 void BuildBinaryOp(const Operator* op, 118 void BuildBinaryOp(const Operator* op,
119 const interpreter::BytecodeArrayIterator& iterator); 119 const interpreter::BytecodeArrayIterator& iterator);
120 void BuildCompareOp(const Operator* op,
121 const interpreter::BytecodeArrayIterator& iterator);
120 void BuildDelete(const interpreter::BytecodeArrayIterator& iterator); 122 void BuildDelete(const interpreter::BytecodeArrayIterator& iterator);
121 123
122 // Growth increment for the temporary buffer used to construct input lists to 124 // Growth increment for the temporary buffer used to construct input lists to
123 // new nodes. 125 // new nodes.
124 static const int kInputBufferSizeIncrement = 64; 126 static const int kInputBufferSizeIncrement = 64;
125 127
126 // Field accessors 128 // Field accessors
127 CommonOperatorBuilder* common() const { return jsgraph_->common(); } 129 CommonOperatorBuilder* common() const { return jsgraph_->common(); }
128 Zone* graph_zone() const { return graph()->zone(); } 130 Zone* graph_zone() const { return graph()->zone(); }
129 CompilationInfo* info() const { return info_; } 131 CompilationInfo* info() const { return info_; }
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 NodeVector values_; 223 NodeVector values_;
222 int register_base_; 224 int register_base_;
223 }; 225 };
224 226
225 227
226 } // namespace compiler 228 } // namespace compiler
227 } // namespace internal 229 } // namespace internal
228 } // namespace v8 230 } // namespace v8
229 231
230 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ 232 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/bytecode-graph-builder.cc » ('j') | test/cctest/interpreter/test-interpreter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698