Fix Arm release build after r21653
authorrmcilroy@chromium.org <rmcilroy@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 3 Jun 2014 16:41:48 +0000 (16:41 +0000)
committerrmcilroy@chromium.org <rmcilroy@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 3 Jun 2014 16:41:48 +0000 (16:41 +0000)
TBR=ulan@chromium.org

Review URL: https://codereview.chromium.org/311903003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21654 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/arm/assembler-arm.cc

index ee4def9..c3f9ab0 100644 (file)
@@ -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;