Index: vm/dart_api_message.cc |
=================================================================== |
--- vm/dart_api_message.cc (revision 16583) |
+++ vm/dart_api_message.cc (working copy) |
@@ -224,7 +224,8 @@ |
} |
if (vm_symbol_references_ == NULL) { |
- intptr_t size = sizeof(*vm_symbol_references_) * Symbols::kMaxId; |
+ intptr_t size = |
+ (sizeof(*vm_symbol_references_) * Symbols::kMaxPredefinedId); |
vm_symbol_references_ = |
reinterpret_cast<Dart_CObject**>(alloc_(NULL, 0, size)); |
memset(vm_symbol_references_, 0, size); |