Index: runtime/vm/raw_object.h |
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h |
index ff744ba189d74102819bac26b6063521ac4d757b..ec8dfffa4e1cf3abfd110606b8eb138ee8f79051 100644 |
--- a/runtime/vm/raw_object.h |
+++ b/runtime/vm/raw_object.h |
@@ -944,6 +944,9 @@ class RawScript : public RawObject { |
RawObject** from() { return reinterpret_cast<RawObject**>(&ptr()->url_); } |
RawString* url_; |
+ RawObject** to_precompiled_snapshot() { |
+ return reinterpret_cast<RawObject**>(&ptr()->url_); |
+ } |
RawTokenStream* tokens_; |
RawObject** to_snapshot() { |
return reinterpret_cast<RawObject**>(&ptr()->tokens_); |