Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Unified Diff: runtime/vm/object.h

Issue 1414493003: Remove some Isolate::current_zone() calls, as it gets the zone from mutator thread not the current … (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: cleanup Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 3006f28c5c257f018cb8d916ecee66fba1fde139..d597bfc494f0f676952117d3c774e6e019ac069f 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -7208,7 +7208,7 @@ class TypedData : public Instance {
return RawObject::IsTypedDataClassId(cid);
}
- static RawTypedData* EmptyUint32Array(Isolate* isolate);
+ static RawTypedData* EmptyUint32Array(Thread* thread);
protected:
void SetLength(intptr_t value) const {
@@ -7978,8 +7978,8 @@ class UserTag : public Instance {
static RawUserTag* FindTagById(uword tag_id);
private:
- static RawUserTag* FindTagInIsolate(Isolate* isolate, const String& label);
- static void AddTagToIsolate(Isolate* isolate, const UserTag& tag);
+ static RawUserTag* FindTagInIsolate(Thread* thread, const String& label);
+ static void AddTagToIsolate(Thread* thread, const UserTag& tag);
void set_label(const String& tag_label) const {
StorePointer(&raw_ptr()->label_, tag_label.raw());

Powered by Google App Engine
This is Rietveld 408576698