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 <kalmard@homejinni.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10720 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent cc278040
...@@ -3580,6 +3580,11 @@ void StackCheckStub::Generate(MacroAssembler* masm) { ...@@ -3580,6 +3580,11 @@ void StackCheckStub::Generate(MacroAssembler* masm) {
} }
void InterruptStub::Generate(MacroAssembler* masm) {
__ TailCallRuntime(Runtime::kInterrupt, 0, 1);
}
void MathPowStub::Generate(MacroAssembler* masm) { void MathPowStub::Generate(MacroAssembler* masm) {
CpuFeatures::Scope fpu_scope(FPU); CpuFeatures::Scope fpu_scope(FPU);
const Register base = a1; const Register base = a1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment