Index: src/runtime/runtime-function.cc |
diff --git a/src/runtime/runtime-function.cc b/src/runtime/runtime-function.cc |
index 9272ef6e069d35c2abc747e0806072907092b5f1..1d0ac7aee282ce74f9a90bf07e5c0fcdfd29d589 100644 |
--- a/src/runtime/runtime-function.cc |
+++ b/src/runtime/runtime-function.cc |
@@ -205,7 +205,7 @@ RUNTIME_FUNCTION(Runtime_SetCode) { |
// Set the code of the target function. |
target->ReplaceCode(source_shared->code()); |
- DCHECK(target->next_function_link()->IsUndefined()); |
+ DCHECK(target->next_function_link()->IsUndefined(isolate)); |
Handle<Context> context(source->context()); |
target->set_context(*context); |