Chromium Code Reviews| Index: src/ia32/lithium-codegen-ia32.h |
| diff --git a/src/ia32/lithium-codegen-ia32.h b/src/ia32/lithium-codegen-ia32.h |
| index 88c460af53375b7909c08882fd3e9e1dbc80bbd5..5b5d026e796d3a44a5249cdc591b00c587a0a096 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); |
|
Kevin Millikin (Chromium)
2011/06/29 08:36:20
Yay!
|
| + 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. |