| Index: src/runtime-profiler.cc
|
| diff --git a/src/runtime-profiler.cc b/src/runtime-profiler.cc
|
| index 04aa02edb3c8d8723a992ccf82e9eb5422bc146b..20960592eae75a5236268c19af8512a03e8f9cac 100644
|
| --- a/src/runtime-profiler.cc
|
| +++ b/src/runtime-profiler.cc
|
| @@ -175,14 +175,10 @@ 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;
|
| -#if defined(V8_TARGET_ARCH_IA32) || \
|
| - defined(V8_TARGET_ARCH_ARM) || \
|
| - defined(V8_TARGET_ARCH_MIPS)
|
| if (FLAG_count_based_interrupts) {
|
| InterruptStub interrupt_stub;
|
| found_code = interrupt_stub.FindCodeInCache(&stack_check_code);
|
| } else // NOLINT
|
| -#endif
|
| { // NOLINT
|
| StackCheckStub check_stub;
|
| found_code = check_stub.FindCodeInCache(&stack_check_code);
|
| @@ -353,11 +349,7 @@ void RuntimeProfiler::OptimizeNow() {
|
|
|
|
|
| void RuntimeProfiler::NotifyTick() {
|
| -#if defined(V8_TARGET_ARCH_IA32) || \
|
| - defined(V8_TARGET_ARCH_ARM) || \
|
| - defined(V8_TARGET_ARCH_MIPS)
|
| if (FLAG_count_based_interrupts) return;
|
| -#endif
|
| isolate_->stack_guard()->RequestRuntimeProfilerTick();
|
| }
|
|
|
|
|