| Index: src/runtime/runtime-test.cc
|
| diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc
|
| index 32819269792bc12eced2964aefebeb23a7a23eda..aaa992daa6bd62854724a8051445d7cc3e5836c8 100644
|
| --- a/src/runtime/runtime-test.cc
|
| +++ b/src/runtime/runtime-test.cc
|
| @@ -444,7 +444,7 @@ RUNTIME_FUNCTION(Runtime_DebugPrint) {
|
|
|
| OFStream os(stdout);
|
| #ifdef DEBUG
|
| - if (args[0]->IsString()) {
|
| + if (args[0]->IsString() && isolate->context() != nullptr) {
|
| // If we have a string, assume it's a code "marker"
|
| // and print some interesting cpu debugging info.
|
| JavaScriptFrameIterator it(isolate);
|
|
|