Index: src/ia32/lithium-codegen-ia32.h |
diff --git a/src/ia32/lithium-codegen-ia32.h b/src/ia32/lithium-codegen-ia32.h |
index defbcab0aa4b2d7005de5f61aa3ce59ef59f986b..ecd2f5138509bf799f472692a099a59769d17256 100644 |
--- a/src/ia32/lithium-codegen-ia32.h |
+++ b/src/ia32/lithium-codegen-ia32.h |
@@ -166,11 +166,6 @@ class LCodeGen BASE_EMBEDDED { |
bool GenerateRelocPadding(); |
bool GenerateSafepointTable(); |
- enum ContextMode { |
- RESTORE_CONTEXT, |
- CONTEXT_ADJUSTED |
- }; |
- |
enum SafepointMode { |
RECORD_SIMPLE_SAFEPOINT, |
RECORD_SAFEPOINT_WITH_REGISTERS_AND_NO_ARGUMENTS |
@@ -178,31 +173,28 @@ class LCodeGen BASE_EMBEDDED { |
void CallCode(Handle<Code> code, |
RelocInfo::Mode mode, |
- LInstruction* instr, |
- ContextMode context_mode); |
+ LInstruction* instr); |
void CallCodeGeneric(Handle<Code> code, |
RelocInfo::Mode mode, |
LInstruction* instr, |
- ContextMode context_mode, |
SafepointMode safepoint_mode); |
void CallRuntime(const Runtime::Function* fun, |
int argc, |
- LInstruction* instr, |
- ContextMode context_mode); |
+ LInstruction* instr); |
void CallRuntime(Runtime::FunctionId id, |
int argc, |
- LInstruction* instr, |
- ContextMode context_mode) { |
+ LInstruction* instr) { |
const Runtime::Function* function = Runtime::FunctionForId(id); |
- CallRuntime(function, argc, instr, context_mode); |
+ CallRuntime(function, argc, instr); |
} |
void CallRuntimeFromDeferred(Runtime::FunctionId id, |
int argc, |
- LInstruction* instr); |
+ LInstruction* instr, |
+ LOperand* context); |
// Generate a direct call to a known function. Expects the function |
// to be in edi. |