Index: runtime/vm/code_generator.cc |
diff --git a/runtime/vm/code_generator.cc b/runtime/vm/code_generator.cc |
index 11b7f8c73c097e139a579c6dd0ac7b2e1174fd97..1aa9dda95adc1a0809f03127481bf127936ba74a 100644 |
--- a/runtime/vm/code_generator.cc |
+++ b/runtime/vm/code_generator.cc |
@@ -1078,7 +1078,7 @@ DEFINE_RUNTIME_ENTRY(InvokeNoSuchMethodDispatcher, 4) { |
if (is_extractor) { |
field_name = String::SubString(field_name, 1); |
ASSERT(!Field::IsGetterName(field_name)); |
- field_name = Symbols::New(field_name); |
+ field_name = Symbols::New(thread, field_name); |
if (!Field::IsSetterName(field_name)) { |
const String& getter_name = |