Chromium Code Reviews| Index: src/isolate.h |
| diff --git a/src/isolate.h b/src/isolate.h |
| index 74bfc29174b58be98ed1dc490fa8ebd9a94d4e37..7c85e27ba29b143c57981834a97d0af496aef318 100644 |
| --- a/src/isolate.h |
| +++ b/src/isolate.h |
| @@ -661,9 +661,9 @@ class Isolate { |
| } |
| inline Address* handler_address() { return &thread_local_top_.handler_; } |
| - // Bottom JS entry (see StackTracer::Trace in sampler.cc). |
| - static Address js_entry_sp(ThreadLocalTop* thread) { |
| - return thread->js_entry_sp_; |
| + // Bottom JS entry. |
| + Address js_entry_sp() { |
|
alph
2013/08/07 09:51:59
Can't you just use the js_entry_sp_address?
yurys
2013/08/07 10:07:32
That would be inconsistent with the accessors abov
|
| + return thread_local_top_.js_entry_sp_; |
| } |
| inline Address* js_entry_sp_address() { |
| return &thread_local_top_.js_entry_sp_; |