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

Unified Diff: vm/object.h

Issue 10414005: Remove script source from the snapshot in order to reduce the size and to make the image size small… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « no previous file | vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/object.h
===================================================================
--- vm/object.h (revision 7771)
+++ vm/object.h (working copy)
@@ -1595,6 +1595,7 @@
RawObject* TokenAt(intptr_t index) const;
RawString* LiteralAt(intptr_t index) const;
+ RawString* GenerateSource() const;
static intptr_t InstanceSize() {
ASSERT(sizeof(RawTokenStream) == OFFSET_OF(RawTokenStream, data_));
@@ -1630,7 +1631,7 @@
class Script : public Object {
public:
RawString* url() const { return raw_ptr()->url_; }
- RawString* source() const { return raw_ptr()->source_; }
+ RawString* source() const;
RawScript::Kind kind() const { return raw_ptr()->kind_; }
RawTokenStream* tokens() const { return raw_ptr()->tokens_; }
« no previous file with comments | « no previous file | vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698