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