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

Unified Diff: src/interpreter/interpreter.h

Issue 2165953002: [interpreter] Add a register operand to ToNumber (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix bytecode graph builder, comments Created 4 years, 5 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 92e17e06bc6a33722009ab8a4e33ca59400a1565..c45526f48913a7460e2f21e545f57934bf2e7b22 100644
--- a/src/interpreter/interpreter.h
+++ b/src/interpreter/interpreter.h
@@ -80,6 +80,11 @@ class Interpreter {
void DoBinaryOpWithImmediate(InterpreterAssembler* assembler);
// Generates code to perform the unary operation via |callable|.
+ compiler::Node* BuildUnaryOp(Callable callable,
+ InterpreterAssembler* assembler);
rmcilroy 2016/07/22 09:36:36 nit move down with the other Build* functions
klaasb 2016/07/22 09:45:45 Done.
+
+ // Generates code to perform the unary operation via |callable| and stores
+ // the result to the accumulator.
void DoUnaryOp(Callable callable, InterpreterAssembler* assembler);
// Generates code to perform the unary operation via |Generator|.

Powered by Google App Engine
This is Rietveld 408576698