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

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: regenerate bytecode expectations 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..aa1cb1f3d2205a1290766b915370764b1b538fea 100644
--- a/src/interpreter/interpreter.h
+++ b/src/interpreter/interpreter.h
@@ -79,8 +79,11 @@ class Interpreter {
template <class Generator>
void DoBinaryOpWithImmediate(InterpreterAssembler* assembler);
- // Generates code to perform the unary operation via |callable|.
- void DoUnaryOp(Callable callable, InterpreterAssembler* assembler);
+ // Generates code to perform the unary operation via |callable| and stores
+ // the result to the accumulator or to the output register if the |bytecode|
+ // has a single output register operand.
+ void DoUnaryOp(Callable callable, InterpreterAssembler* assembler,
+ Bytecode bytecode);
// Generates code to perform the unary operation via |Generator|.
template <class Generator>

Powered by Google App Engine
This is Rietveld 408576698