Revision: 7533
Author: [email protected]
Date: Thu Apr 7 01:45:48 2011
Log: Port revision 7531 to trunk.
Fixes building preparser as shared library.
Review URL: http://codereview.chromium.org/6816011
http://code.google.com/p/v8/source/detail?r=7533
Modified:
/trunk/include/v8-preparser.h
/trunk/src/version.cc
=======================================
--- /trunk/include/v8-preparser.h Mon Apr 4 01:25:31 2011
+++ /trunk/include/v8-preparser.h Thu Apr 7 01:45:48 2011
@@ -1,4 +1,4 @@
-// Copyright 2010 the V8 project authors. All rights reserved.
+// Copyright 2011 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
@@ -67,16 +67,16 @@
namespace v8 {
-class PreParserData {
+class V8EXPORT PreParserData {
public:
PreParserData(size_t size, const uint8_t* data)
: data_(data), size_(size) { }
// Create a PreParserData value where stack_overflow reports true.
static PreParserData StackOverflow() { return PreParserData(0, NULL); }
+
// Whether the pre-parser stopped due to a stack overflow.
// If this is the case, size() and data() should not be used.
-
bool stack_overflow() { return size_ == 0u; }
// The size of the data in bytes.
@@ -92,7 +92,7 @@
// Interface for a stream of Unicode characters.
-class UnicodeInputStream {
+class V8EXPORT UnicodeInputStream { // NOLINT - Thinks V8EXPORT is class
name.
public:
virtual ~UnicodeInputStream();
=======================================
--- /trunk/src/version.cc Thu Apr 7 01:41:03 2011
+++ /trunk/src/version.cc Thu Apr 7 01:45:48 2011
@@ -35,7 +35,7 @@
#define MAJOR_VERSION 3
#define MINOR_VERSION 2
#define BUILD_NUMBER 8
-#define PATCH_LEVEL 1
+#define PATCH_LEVEL 2
// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)
#define IS_CANDIDATE_VERSION 0
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev