Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index cddd640786386b2556cc39a89b18d23dd1717482..b6bd41d8f428a91771a3a1dcb5f0e1896ad95559 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -817,18 +817,6 @@ |
CmpObjectType(object, JS_FUNCTION_TYPE, object); |
Pop(object); |
Check(equal, kOperandIsNotAFunction); |
- } |
-} |
- |
- |
-void MacroAssembler::AssertBoundFunction(Register object) { |
- if (emit_debug_code()) { |
- test(object, Immediate(kSmiTagMask)); |
- Check(not_equal, kOperandIsASmiAndNotABoundFunction); |
- Push(object); |
- CmpObjectType(object, JS_BOUND_FUNCTION_TYPE, object); |
- Pop(object); |
- Check(equal, kOperandIsNotABoundFunction); |
} |
} |