| Index: src/isolate-inl.h
|
| diff --git a/src/isolate-inl.h b/src/isolate-inl.h
|
| index d6e613176d7a71be593d9f796a3ca2716d9fe119..0a2c17404e63f20e97be4507b033aa2f49a0425f 100644
|
| --- a/src/isolate-inl.h
|
| +++ b/src/isolate-inl.h
|
| @@ -45,9 +45,7 @@ SaveContext::SaveContext(Isolate* isolate) : prev_(isolate->save_context()) {
|
| }
|
| isolate->set_save_context(this);
|
|
|
| - // If there is no JS frame under the current C frame, use the value 0.
|
| - JavaScriptFrameIterator it(isolate);
|
| - js_sp_ = it.done() ? 0 : it.frame()->sp();
|
| + c_entry_fp_ = isolate->c_entry_fp(isolate->thread_local_top());
|
| }
|
|
|
|
|
|
|