Reviewers: Jakob, danno, Paul Lind, kisg,
Description:
MIPS: Initial support for count-based profiling
Port r10699 (18a0fc0).
Original commit message:
(behind FLAG_count_based_interrupts; only on ia32)
BUG=
TEST=
Please review this at http://codereview.chromium.org/9420005/
Affected files:
M src/mips/code-stubs-mips.cc
Index: src/mips/code-stubs-mips.cc
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
index
4d07b7e302c2eaaff80d2ccc6075a77246611b6a..de6fb953c475340cea02bf9cf331357cf145418a
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;
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev