Index: src/x64/code-stubs-x64.h |
=================================================================== |
--- src/x64/code-stubs-x64.h (revision 5338) |
+++ src/x64/code-stubs-x64.h (working copy) |
@@ -112,6 +112,11 @@ |
Result* left, |
Result* right); |
+ bool ArgsInRegistersSupported() { |
+ return (op_ == Token::ADD) || (op_ == Token::SUB) |
+ || (op_ == Token::MUL) || (op_ == Token::DIV); |
+ } |
+ |
private: |
Token::Value op_; |
OverwriteMode mode_; |
@@ -172,10 +177,6 @@ |
void GenerateRegisterArgsPush(MacroAssembler* masm); |
void GenerateTypeTransition(MacroAssembler* masm); |
- bool ArgsInRegistersSupported() { |
- return (op_ == Token::ADD) || (op_ == Token::SUB) |
- || (op_ == Token::MUL) || (op_ == Token::DIV); |
- } |
bool IsOperationCommutative() { |
return (op_ == Token::ADD) || (op_ == Token::MUL); |
} |