Commit b6021061 authored by deanm@chromium.org's avatar deanm@chromium.org

The serialization system handles some flag parsing itself, which is a bad...

The serialization system handles some flag parsing itself, which is a bad idea.  For now, update the internal strings, since they will be underbar versions in the new flag system.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@299 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent c1786640
......@@ -1301,11 +1301,11 @@ void Deserializer::GetFlags() {
reader_.ExpectC(']');
has_log_ = false;
for (int i = 1; i < argc; i++) {
if (strcmp("--log-code", argv[i]) == 0) {
if (strcmp("--log_code", argv[i]) == 0) {
has_log_ = true;
} else if (strcmp("--nouse-ic", argv[i]) == 0) {
} else if (strcmp("--nouse_ic", argv[i]) == 0) {
FLAG_use_ic = false;
} else if (strcmp("--debug-code", argv[i]) == 0) {
} else if (strcmp("--debug_code", argv[i]) == 0) {
FLAG_debug_code = true;
} else if (strcmp("--nolazy", argv[i]) == 0) {
FLAG_lazy = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment