Index: vm/bigint_operations.cc |
=================================================================== |
--- vm/bigint_operations.cc (revision 16285) |
+++ vm/bigint_operations.cc (working copy) |
@@ -207,9 +207,9 @@ |
} |
DoubleInternals internals = DoubleInternals(d); |
if (internals.IsSpecial()) { |
- GrowableArray<const Object*> exception_arguments; |
- exception_arguments.Add( |
- &Object::ZoneHandle(String::New("BigintOperations::NewFromDouble"))); |
+ const Array& exception_arguments = Array::Handle(Array::New(1)); |
+ exception_arguments.SetAt( |
+ 0, Object::Handle(String::New("BigintOperations::NewFromDouble"))); |
Exceptions::ThrowByType(Exceptions::kInternalError, exception_arguments); |
} |
uint64_t significand = internals.Significand(); |