Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index 54afc645d4b67106a5e39e7bbebaadf83914a325..a14b5e7937d28663bf8c612e0a2b65714f4b8b73 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -367,6 +367,7 @@ void JSFunction::JSFunctionVerify() { |
CHECK(IsJSFunction()); |
VerifyObjectField(kPrototypeOrInitialMapOffset); |
VerifyObjectField(kNextFunctionLinkOffset); |
+ CHECK(code()->IsCode()); |
CHECK(next_function_link()->IsUndefined() || |
next_function_link()->IsJSFunction()); |
} |