Revision: 20512
Author:   [email protected]
Date:     Fri Apr  4 12:54:12 2014 UTC
Log:      ARM64: fix constant pool size used by disassembler

BUG=
[email protected], [email protected]

Review URL: https://codereview.chromium.org/225403005
http://code.google.com/p/v8/source/detail?r=20512

Modified:
 /branches/bleeding_edge/src/arm64/assembler-arm64.cc

=======================================
--- /branches/bleeding_edge/src/arm64/assembler-arm64.cc Thu Apr 3 14:30:44 2014 UTC +++ /branches/bleeding_edge/src/arm64/assembler-arm64.cc Fri Apr 4 12:54:12 2014 UTC
@@ -647,7 +647,7 @@
 void Assembler::ConstantPoolMarker(uint32_t size) {
   ASSERT(is_const_pool_blocked());
   // + 1 is for the crash guard.
-  Emit(LDR_x_lit | ImmLLiteral(2 * size + 1) | Rt(xzr));
+  Emit(LDR_x_lit | ImmLLiteral(size + 1) | Rt(xzr));
 }


@@ -2590,7 +2590,6 @@
   {
// Block recursive calls to CheckConstPool and protect from veneer pools.
     BlockPoolsScope block_pools(this);
-    RecordComment("[ Constant Pool");
     RecordConstPool(pool_size);

     // Emit jump over constant pool if necessary.
@@ -2610,6 +2609,7 @@
     // beginning of the constant pool.
// TODO(all): currently each relocated constant is 64 bits, consider adding
     // support for 32-bit entries.
+    RecordComment("[ Constant Pool");
     ConstantPoolMarker(2 * num_pending_reloc_info_);
     ConstantPoolGuard();

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to