Revision: 6330
Author: [email protected]
Date: Fri Jan 14 07:08:44 2011
Log: Disable DivI and ModI again until the bug with
SafepointWithRegistersAndDoubles is solved.
BUG=
TEST=
Review URL: http://codereview.chromium.org/6295004
http://code.google.com/p/v8/source/detail?r=6330
Modified:
/branches/bleeding_edge/src/arm/lithium-codegen-arm.cc
/branches/bleeding_edge/src/frames.cc
=======================================
--- /branches/bleeding_edge/src/arm/lithium-codegen-arm.cc Fri Jan 14
04:50:03 2011
+++ /branches/bleeding_edge/src/arm/lithium-codegen-arm.cc Fri Jan 14
07:08:44 2011
@@ -999,6 +999,7 @@
void LCodeGen::DoModI(LModI* instr) {
+ Abort("ModI not implemented");
class DeferredModI: public LDeferredCode {
public:
DeferredModI(LCodeGen* codegen, LModI* instr)
@@ -1054,6 +1055,7 @@
void LCodeGen::DoDivI(LDivI* instr) {
+ Abort("DivI not implemented");
class DeferredDivI: public LDeferredCode {
public:
DeferredDivI(LCodeGen* codegen, LDivI* instr)
@@ -1141,9 +1143,9 @@
__ PushSafepointRegistersAndDoubles();
GenericBinaryOpStub stub(op, OVERWRITE_LEFT, left, right);
__ CallStub(&stub);
- RecordSafepointWithRegisters(instr->pointer_map(),
- 0,
- Safepoint::kNoDeoptimizationIndex);
+ RecordSafepointWithRegistersAndDoubles(instr->pointer_map(),
+ 0,
+
Safepoint::kNoDeoptimizationIndex);
// Overwrite the stored value of r0 with the result of the stub.
__ str(r0, MemOperand(sp, DwVfpRegister::kNumAllocatableRegisters *
kDoubleSize));
=======================================
--- /branches/bleeding_edge/src/frames.cc Wed Jan 12 06:14:14 2011
+++ /branches/bleeding_edge/src/frames.cc Fri Jan 14 07:08:44 2011
@@ -553,6 +553,11 @@
parameters_base + safepoint_entry.argument_count());
parameters_base += safepoint_entry.argument_count();
}
+
+ if (safepoint_entry.has_doubles()) {
+ parameters_base += DwVfpRegister::kNumAllocatableRegisters *
+ kDoubleSize / kPointerSize;
+ }
// Visit the registers that contain pointers if any.
if (safepoint_entry.HasRegisters()) {
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev