Index: runtime/vm/compiler.cc |
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc |
index 493cc0e67e0152d076e0aa67fc2c6cffbba69723..7c554bb83fddfa2cbb75473f5439b10d5194bad2 100644 |
--- a/runtime/vm/compiler.cc |
+++ b/runtime/vm/compiler.cc |
@@ -314,10 +314,7 @@ RawError* Compiler::CompileClass(const Class& cls) { |
"CompileClass"); |
if (tds.enabled()) { |
tds.SetNumArguments(1); |
- tds.CopyArgument( |
- 0, |
- "class", |
- const_cast<char*>(cls.ToCString())); |
+ tds.CopyArgument(0, "class", cls.ToCString()); |
} |
GrowableHandlePtrArray<const Class> parse_list(thread->zone(), 4); |