Index: src/preparser-api.cc |
=================================================================== |
--- src/preparser-api.cc (revision 7267) |
+++ src/preparser-api.cc (working copy) |
@@ -26,6 +26,9 @@ |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
#include "../include/v8-preparser.h" |
+ |
+#include "v8.h" |
+ |
#include "globals.h" |
#include "checks.h" |
#include "allocation.h" |
@@ -158,6 +161,9 @@ |
class StandAloneJavaScriptScanner : public JavaScriptScanner { |
public: |
+ StandAloneJavaScriptScanner() |
+ : JavaScriptScanner(Isolate::Current()) { } |
+ |
void Initialize(UC16CharacterStream* source) { |
source_ = source; |
Init(); |