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

Unified Diff: runtime/bin/dartutils.cc

Issue 10398053: Revert "Add more API fuzzing and fix the issues encountered." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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/bin/dartutils.h ('k') | runtime/bin/file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dartutils.cc
diff --git a/runtime/bin/dartutils.cc b/runtime/bin/dartutils.cc
index 95034108e0c01f19e2dee29e8b59508676eb0cc7..afaa94dc781c5288cbcb35fe0af15807254b8f53 100644
--- a/runtime/bin/dartutils.cc
+++ b/runtime/bin/dartutils.cc
@@ -53,19 +53,6 @@ int64_t DartUtils::GetIntegerValue(Dart_Handle value_obj) {
}
-bool DartUtils::GetInt64Value(Dart_Handle value_obj, int64_t* value) {
- bool valid = Dart_IsInteger(value_obj);
- if (valid) {
- Dart_Handle result = Dart_IntegerFitsIntoInt64(value_obj, &valid);
- ASSERT(!Dart_IsError(result));
- }
- if (!valid) return false;
- Dart_Handle result = Dart_IntegerToInt64(value_obj, value);
- ASSERT(!Dart_IsError(result));
- return true;
-}
-
-
const char* DartUtils::GetStringValue(Dart_Handle str_obj) {
const char* cstring = NULL;
Dart_Handle result = Dart_StringToCString(str_obj, &cstring);
« no previous file with comments | « runtime/bin/dartutils.h ('k') | runtime/bin/file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698