| Index: src/objects-debug.cc
|
| diff --git a/src/objects-debug.cc b/src/objects-debug.cc
|
| index e9a54e519bee5d90f2a0e5b5d85d935636d4a645..7c5a76b772d548ab17e075db693899a853ec3b93 100644
|
| --- a/src/objects-debug.cc
|
| +++ b/src/objects-debug.cc
|
| @@ -775,6 +775,9 @@ void JSFunction::JSFunctionPrint() {
|
| void JSFunction::JSFunctionVerify() {
|
| CHECK(IsJSFunction());
|
| VerifyObjectField(kPrototypeOrInitialMapOffset);
|
| + VerifyObjectField(kNextFunctionLinkOffset);
|
| + CHECK(next_function_link()->IsUndefined() ||
|
| + next_function_link()->IsJSFunction());
|
| }
|
|
|
|
|
|
|