From 0199492d576bcc26c82dd39aabb16627646e9ad8 Mon Sep 17 00:00:00 2001 From: "jkummerow@chromium.org" Date: Thu, 16 Feb 2012 13:33:37 +0000 Subject: [PATCH] MIPS: Initial support for count-based profiling Port r10699 (18a0fc0). Original commit message: (behind FLAG_count_based_interrupts; only on ia32) BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9420005 Patch from Daniel Kalmar . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10720 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/mips/code-stubs-mips.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc index 4d07b7e..de6fb95 100644 --- a/src/mips/code-stubs-mips.cc +++ b/src/mips/code-stubs-mips.cc @@ -3580,6 +3580,11 @@ void StackCheckStub::Generate(MacroAssembler* masm) { } +void InterruptStub::Generate(MacroAssembler* masm) { + __ TailCallRuntime(Runtime::kInterrupt, 0, 1); +} + + void MathPowStub::Generate(MacroAssembler* masm) { CpuFeatures::Scope fpu_scope(FPU); const Register base = a1; -- 2.7.4