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/objects-debug.cc b/src/objects-debug.cc
index 7b7afc4..0362a15 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -665,6 +665,8 @@
void Code::CodeVerify() {
CHECK(ic_flag() == IC_TARGET_IS_ADDRESS);
+ CHECK(IsAligned(reinterpret_cast<intptr_t>(instruction_start()),
+ static_cast<intptr_t>(kCodeAlignment)));
Address last_gc_pc = NULL;
for (RelocIterator it(this); !it.done(); it.next()) {
it.rinfo()->Verify();