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

Unified Diff: src/interpreter/interpreter.h

Issue 1902823002: [ignition] Inline the binary op TurboFan code stubs in the bytecode handlers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: src/interpreter/interpreter.h
diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h
index 155b2b5abee577c3517f97031259907aec21cd15..64cdbf305ca1e896e5cc28210dbf2d9a37cf8155 100644
--- a/src/interpreter/interpreter.h
+++ b/src/interpreter/interpreter.h
@@ -21,6 +21,10 @@ class Isolate;
class Callable;
class CompilationInfo;
+namespace compiler {
+class Node;
+} // namespace compiler
+
namespace interpreter {
class InterpreterAssembler;
@@ -73,6 +77,12 @@ class Interpreter {
void DoBinaryOp(Runtime::FunctionId function_id,
InterpreterAssembler* assembler);
+ // Generates code to perform the binary operations via |generator|.
+ void DoBinaryOp(compiler::Node* (*generator)(CodeStubAssembler*,
+ compiler::Node*, compiler::Node*,
+ compiler::Node*),
+ InterpreterAssembler* assembler);
+
// Generates code to perform the count operations via |function_id|.
void DoCountOp(Runtime::FunctionId function_id,
InterpreterAssembler* assembler);

Powered by Google App Engine
This is Rietveld 408576698