Chromium Code Reviews| Index: src/sampler.cc |
| diff --git a/src/sampler.cc b/src/sampler.cc |
| index d72ed1acdb832e224c490b736954bf6d908ebb88..596656579197a02db020022a5869e8e3a5ded41f 100644 |
| --- a/src/sampler.cc |
| +++ b/src/sampler.cc |
| @@ -615,8 +615,7 @@ DISABLE_ASAN void TickSample::Init(Isolate* isolate, |
| // Avoid collecting traces while doing GC. |
| if (state == GC) return; |
| - const Address js_entry_sp = |
| - Isolate::js_entry_sp(isolate->thread_local_top()); |
| + Address js_entry_sp = isolate->js_entry_sp(); |
| if (js_entry_sp == 0) { |
| // Not executing JS now. |
| return; |