Index: runtime/vm/parser.cc |
diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc |
index 89cf98887ea8f4372cb8eef0662756d43486e83e..37cdf87ec497d9f777cd9215fc5492905be4dc16 100644 |
--- a/runtime/vm/parser.cc |
+++ b/runtime/vm/parser.cc |
@@ -458,10 +458,7 @@ void Parser::ParseCompilationUnit(const Library& library, |
"CompileTopLevel"); |
if (tds.enabled()) { |
tds.SetNumArguments(1); |
- tds.CopyArgument( |
- 0, |
- "script", |
- const_cast<char*>(String::Handle(script.url()).ToCString())); |
+ tds.CopyArgument(0, "script", String::Handle(script.url()).ToCString()); |
} |
Parser parser(script, library, 0); |