Index: src/ia32/code-stubs-ia32.h |
=================================================================== |
--- src/ia32/code-stubs-ia32.h (revision 5338) |
+++ src/ia32/code-stubs-ia32.h (working copy) |
@@ -117,6 +117,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_; |
@@ -181,10 +186,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); |
} |