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

Unified Diff: runtime/bin/main.cc

Issue 59933004: In preparation of inlining remainder and modulo binary Smi operations: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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 | « no previous file | runtime/include/dart_native_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/main.cc
===================================================================
--- runtime/bin/main.cc (revision 29911)
+++ runtime/bin/main.cc (working copy)
@@ -59,9 +59,6 @@
// Global flag that is used to indicate that we want to compile all the
// dart functions and not run anything.
static bool has_compile_all = false;
-// Global flag that is used to indicate that we want to check function
-// fingerprints.
-static bool has_check_function_fingerprints = false;
// Global flag that is used to indicate that we want to print the source code
// for script that is being run.
@@ -187,16 +184,6 @@
}
-static bool ProcessFingerprintedFunctions(const char* arg) {
- ASSERT(arg != NULL);
- if (*arg != '\0') {
- return false;
- }
- has_check_function_fingerprints = true;
- return true;
-}
-
-
static bool ProcessDebugOption(const char* port) {
// TODO(hausner): Add support for specifying an IP address on which
// the debugger should listen.
@@ -298,7 +285,6 @@
{ "--debug", ProcessDebugOption },
{ "--snapshot=", ProcessGenScriptSnapshotOption },
{ "--print-script", ProcessPrintScriptOption },
- { "--check-function-fingerprints", ProcessFingerprintedFunctions },
{ "--enable-vm-service", ProcessEnableVmServiceOption },
{ "--trace-debug-protocol", ProcessTraceDebugProtocolOption },
{ NULL, NULL }
@@ -912,13 +898,6 @@
}
}
- if (has_check_function_fingerprints) {
- result = Dart_CheckFunctionFingerprints();
- if (Dart_IsError(result)) {
- return DartErrorExit(result);
- }
- }
-
if (Dart_IsNull(root_lib)) {
return ErrorExit(kErrorExitCode,
"Unable to find root library for '%s'\n",
« no previous file with comments | « no previous file | runtime/include/dart_native_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698