| Index: src/profiler/sampler.cc
|
| diff --git a/src/profiler/sampler.cc b/src/profiler/sampler.cc
|
| index 860fc34378025c27af77cddb25998e8526017754..6c65fe3443240358727bf66dac9922e33dd51019 100644
|
| --- a/src/profiler/sampler.cc
|
| +++ b/src/profiler/sampler.cc
|
| @@ -334,7 +334,7 @@ class Sampler::PlatformData : public PlatformDataCommon {
|
| #if defined(USE_SIMULATOR)
|
| bool SimulatorHelper::FillRegisters(Isolate* isolate,
|
| v8::RegisterState* state) {
|
| - Simulator *simulator = isolate->thread_local_top()->simulator_;
|
| + Simulator* simulator = isolate->thread_local_top()->simulator_;
|
| // Check if there is active simulator.
|
| if (simulator == NULL) return false;
|
| #if V8_TARGET_ARCH_ARM
|
| @@ -342,8 +342,8 @@ bool SimulatorHelper::FillRegisters(Isolate* isolate,
|
| state->pc = reinterpret_cast<Address>(simulator->get_pc());
|
| }
|
| state->sp = reinterpret_cast<Address>(simulator->get_register(Simulator::sp));
|
| - state->fp = reinterpret_cast<Address>(simulator->get_register(
|
| - Simulator::r11));
|
| + state->fp =
|
| + reinterpret_cast<Address>(simulator->get_register(Simulator::r11));
|
| #elif V8_TARGET_ARCH_ARM64
|
| state->pc = reinterpret_cast<Address>(simulator->pc());
|
| state->sp = reinterpret_cast<Address>(simulator->sp());
|
|
|