Reviewers: ulan,

Description:
Fix Arm release build after r21653

[email protected]

Please review this at https://codereview.chromium.org/311903003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+8, -9 lines):
  M src/arm/assembler-arm.cc


Index: src/arm/assembler-arm.cc
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc
index ee4def9076600b36cefdd585a1c001b3ae148ce7..c3f9ab0b9b2501997a7f83d154b1607c6fad6ca3 100644
--- a/src/arm/assembler-arm.cc
+++ b/src/arm/assembler-arm.cc
@@ -3592,15 +3592,14 @@ Handle<ConstantPoolArray> ConstantPoolBuilder::New(Isolate* isolate) {

 void ConstantPoolBuilder::Populate(Assembler* assm,
                                    ConstantPoolArray* constant_pool) {
- ConstantPoolArray::LayoutSection section = ConstantPoolArray::SMALL_SECTION;
-  ASSERT(count_of_64bit_ ==
-      constant_pool->number_of_entries(ConstantPoolArray::INT64, section));
-  ASSERT(count_of_code_ptr_ ==
- constant_pool->number_of_entries(ConstantPoolArray::CODE_PTR, section));
-  ASSERT(count_of_heap_ptr_ ==
- constant_pool->number_of_entries(ConstantPoolArray::HEAP_PTR, section));
-  ASSERT(count_of_32bit_ ==
-      constant_pool->number_of_entries(ConstantPoolArray::INT32, section));
+  ASSERT(count_of_64bit_ == constant_pool->number_of_entries(
+             ConstantPoolArray::INT64, ConstantPoolArray::SMALL_SECTION));
+  ASSERT(count_of_code_ptr_ == constant_pool->number_of_entries(
+ ConstantPoolArray::CODE_PTR, ConstantPoolArray::SMALL_SECTION));
+  ASSERT(count_of_heap_ptr_ == constant_pool->number_of_entries(
+ ConstantPoolArray::HEAP_PTR, ConstantPoolArray::SMALL_SECTION));
+  ASSERT(count_of_32bit_ == constant_pool->number_of_entries(
+             ConstantPoolArray::INT32, ConstantPoolArray::SMALL_SECTION));
   ASSERT(entries_.size() == merged_indexes_.size());

   int index_64bit = 0;


--
--
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