Index: runtime/vm/regexp_parser.cc |
diff --git a/runtime/vm/regexp_parser.cc b/runtime/vm/regexp_parser.cc |
index b24e8ca462ad8abdbc436922df755501987f73dc..7b0e01a478def31d88085172c21432df03af6038 100644 |
--- a/runtime/vm/regexp_parser.cc |
+++ b/runtime/vm/regexp_parser.cc |
@@ -1064,7 +1064,7 @@ bool RegExpParser::ParseRegExp(const String& input, |
result->capture_count = capture_count; |
} else { |
ASSERT(!result->error.IsNull()); |
- Isolate::Current()->object_store()->clear_sticky_error(); |
+ Thread::Current()->clear_sticky_error(); |
// Throw a FormatException on parsing failures. |
const String& message = String::Handle( |