Index: runtime/vm/object.h |
diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
index 55fdbb5a52e0332cab9c177a20f5d411c1e2351e..cea67f9cb181d7ea786b782b367c59e17f713382 100644 |
--- a/runtime/vm/object.h |
+++ b/runtime/vm/object.h |
@@ -4047,6 +4047,11 @@ class Library : public Object { |
static RawLibrary* New(); |
+ // These methods are only used by the Precompiler to obfuscate |
+ // the name and url. |
+ void set_name(const String& name) const; |
+ void set_url(const String& url) const; |
+ |
void set_num_imports(intptr_t value) const; |
bool HasExports() const; |
RawArray* loaded_scripts() const { return raw_ptr()->loaded_scripts_; } |
@@ -5660,6 +5665,7 @@ class Instance : public Object { |
friend class InstanceDeserializationCluster; |
friend class ClassDeserializationCluster; // vtable |
friend class InstanceMorpher; |
+ friend class Obfuscator; // RawGetFieldAtOffset, RawSetFieldAtOffset |
}; |
class LibraryPrefix : public Instance { |