Index: src/ia32/code-stubs-ia32.h |
=================================================================== |
--- src/ia32/code-stubs-ia32.h (revision 5369) |
+++ src/ia32/code-stubs-ia32.h (working copy) |
@@ -28,8 +28,8 @@ |
#ifndef V8_IA32_CODE_STUBS_IA32_H_ |
#define V8_IA32_CODE_STUBS_IA32_H_ |
-#include "codegen-inl.h" |
-#include "ast.h" |
+#include "macro-assembler.h" |
+#include "code-stubs.h" |
#include "ic-inl.h" |
namespace v8 { |
@@ -112,11 +112,6 @@ |
void GenerateCall(MacroAssembler* masm, Register left, Smi* right); |
void GenerateCall(MacroAssembler* masm, Smi* left, Register right); |
- Result GenerateCall(MacroAssembler* masm, |
- VirtualFrame* frame, |
- Result* left, |
- Result* right); |
- |
bool ArgsInRegistersSupported() { |
return op_ == Token::ADD || op_ == Token::SUB |
|| op_ == Token::MUL || op_ == Token::DIV; |
@@ -211,6 +206,8 @@ |
virtual InlineCacheState GetICState() { |
return BinaryOpIC::ToState(runtime_operands_type_); |
} |
+ |
+ friend class CodeGenerator; |
}; |