Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1625)

Unified Diff: runtime/vm/object.cc

Issue 1038973002: Fix the build. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/json_stream.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 65034c71fd2e63a83ee50aca75ef047887030d7c..83de83ce11680ac231107ee26303b32e621c29e7 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -15950,7 +15950,7 @@ RawInteger* Integer::New(int64_t value, Heap::Space space, const bool silent) {
const bool is_smi = Smi::IsValid(value);
if (!silent &&
FLAG_throw_on_javascript_int_overflow &&
- !Utils::IsJavascriptInt(value)) {
+ !Utils::IsJavascriptInt64(value)) {
const Integer& i = is_smi ?
Integer::Handle(Smi::New(static_cast<intptr_t>(value))) :
Integer::Handle(Mint::New(value, space));
@@ -16048,7 +16048,7 @@ bool Integer::CheckJavascriptIntegerOverflow() const {
value = AsInt64Value();
}
}
- return !Utils::IsJavascriptInt(value);
+ return !Utils::IsJavascriptInt64(value);
}
« no previous file with comments | « runtime/vm/json_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698