Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index be210aaef1fdd873362c4e8dff9932e98a8017db..a68cc130092fc68362301f75c87cc72fb9ff04eb 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -2147,18 +2147,6 @@ void MacroAssembler::InvokeFunction(Handle<JSFunction> function, |
} |
-void MacroAssembler::InvokeBuiltin(int native_context_index, InvokeFlag flag, |
- const CallWrapper& call_wrapper) { |
- // You can't call a builtin without a valid frame. |
- DCHECK(flag == JUMP_FUNCTION || has_frame()); |
- |
- // Fake a parameter count to avoid emitting code to do the check. |
- ParameterCount expected(0); |
- GetBuiltinFunction(edi, native_context_index); |
- InvokeFunctionCode(edi, no_reg, expected, expected, flag, call_wrapper); |
-} |
- |
- |
void MacroAssembler::GetBuiltinFunction(Register target, |
int native_context_index) { |
// Load the JavaScript builtin function from the builtins object. |