| Index: src/runtime-profiler.cc
|
| diff --git a/src/runtime-profiler.cc b/src/runtime-profiler.cc
|
| index 400fcbaa842348c6dada32ce1ceedaf03c409c30..7c24ae6adcb9b3a4b4f270f4f758eed12d83eb5a 100644
|
| --- a/src/runtime-profiler.cc
|
| +++ b/src/runtime-profiler.cc
|
| @@ -149,10 +149,13 @@ void RuntimeProfiler::AttemptOnStackReplacement(JSFunction* function) {
|
| // prepared to generate it, but we don't expect to have to.
|
| bool found_code = false;
|
| Code* stack_check_code = NULL;
|
| +#ifdef V8_TARGET_ARCH_IA32
|
| if (FLAG_count_based_interrupts) {
|
| InterruptStub interrupt_stub;
|
| found_code = interrupt_stub.FindCodeInCache(&stack_check_code);
|
| - } else {
|
| + } else // NOLINT
|
| +#endif
|
| + { // NOLINT
|
| StackCheckStub check_stub;
|
| found_code = check_stub.FindCodeInCache(&stack_check_code);
|
| }
|
| @@ -304,7 +307,9 @@ void RuntimeProfiler::OptimizeNow() {
|
|
|
|
|
| void RuntimeProfiler::NotifyTick() {
|
| +#ifdef V8_TARGET_ARCH_IA32
|
| if (FLAG_count_based_interrupts) return;
|
| +#endif
|
| isolate_->stack_guard()->RequestRuntimeProfilerTick();
|
| }
|
|
|
|
|