Optimized double-to-integer conversions in bit operations by using SSE3 instructions if available.
Optimized initialization sequences that store to multiple properties of the same object.
Changed the D8 debugger frontend to use JSON messages.
Force garbage collections when disposing contexts.
Align code objects at 32-byte boundaries.
git-svn-id: http://v8.googlecode.com/svn/trunk@1388 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/macro-assembler-arm.cc b/src/macro-assembler-arm.cc
index dc6d40f..88a300b 100644
--- a/src/macro-assembler-arm.cc
+++ b/src/macro-assembler-arm.cc
@@ -43,7 +43,8 @@
: Assembler(buffer, size),
unresolved_(0),
generating_stub_(false),
- allow_stub_calls_(true) {
+ allow_stub_calls_(true),
+ code_object_(Heap::undefined_value()) {
}
@@ -270,8 +271,8 @@
stm(db_w, sp, cp.bit() | fp.bit() | lr.bit());
mov(ip, Operand(Smi::FromInt(type)));
push(ip);
- mov(ip, Operand(0));
- push(ip); // Push an empty code cache slot.
+ mov(ip, Operand(CodeObject()));
+ push(ip);
add(fp, sp, Operand(3 * kPointerSize)); // Adjust FP to point to saved FP.
}