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