Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 1115a5e4164d3ae47ea1cc30645fa784ca0224d3..a05d1e703626b125635e9ce15ea935164545023d 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -113,9 +113,6 @@ |
break; |
case JS_DATE_TYPE: |
JSDate::cast(this)->JSDateVerify(); |
- break; |
- case JS_BOUND_FUNCTION_TYPE: |
- JSBoundFunction::cast(this)->JSBoundFunctionVerify(); |
break; |
case JS_FUNCTION_TYPE: |
JSFunction::cast(this)->JSFunctionVerify(); |
@@ -545,21 +542,6 @@ |
} |
-void JSBoundFunction::JSBoundFunctionVerify() { |
- CHECK(IsJSBoundFunction()); |
- VerifyObjectField(kLengthOffset); |
- VerifyObjectField(kNameOffset); |
- VerifyObjectField(kBoundThisOffset); |
- VerifyObjectField(kBoundTargetFunctionOffset); |
- VerifyObjectField(kBoundArgumentsOffset); |
- VerifyObjectField(kCreationContextOffset); |
- CHECK(bound_target_function()->IsCallable()); |
- CHECK(creation_context()->IsNativeContext()); |
- CHECK(IsCallable()); |
- CHECK_EQ(IsConstructor(), bound_target_function()->IsConstructor()); |
-} |
- |
- |
void JSFunction::JSFunctionVerify() { |
CHECK(IsJSFunction()); |
VerifyObjectField(kPrototypeOrInitialMapOffset); |