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

Unified Diff: src/preparse-data.h

Issue 376223002: Refactor ScriptData class for cached compile data. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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: src/preparse-data.h
diff --git a/src/preparse-data.h b/src/preparse-data.h
index 36c481cb3626ffd2d01e2184d3e6d93cd46c4a67..39b728a37ae8fe27b49c65c9ee0c7aec09bdc73c 100644
--- a/src/preparse-data.h
+++ b/src/preparse-data.h
@@ -6,6 +6,7 @@
#define V8_PREPARSE_DATA_H_
#include "src/allocation.h"
+#include "src/compiler.h"
vogelheim 2014/07/09 17:23:36 If this is only for CompleteParserRecorder::GetScr
Yang 2014/07/10 08:28:46 Done.
#include "src/hashmap.h"
#include "src/preparse-data-format.h"
#include "src/utils-inl.h"
@@ -149,7 +150,7 @@ class CompleteParserRecorder : public ParserRecorder {
const char* message,
const char* argument_opt,
bool is_reference_error_);
- Vector<unsigned> ExtractData();
+ ScriptData* GetScriptData();
private:
bool has_error() {

Powered by Google App Engine
This is Rietveld 408576698