| Index: src/preparse-data.h
|
| diff --git a/src/preparse-data.h b/src/preparse-data.h
|
| index e12203a631d2ba761c7093ecbe5093400eda1a67..48cd2a509ce3bd05adbe1cc477437ee16c592d81 100644
|
| --- a/src/preparse-data.h
|
| +++ b/src/preparse-data.h
|
| @@ -25,8 +25,8 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -#ifndef V8_PREPARSER_DATA_H_
|
| -#define V8_PREPARSER_DATA_H_
|
| +#ifndef V8_PREPARSE_DATA_H_
|
| +#define V8_PREPARSE_DATA_H_
|
|
|
| #include "hashmap.h"
|
| #include "utils-inl.h"
|
| @@ -34,32 +34,6 @@
|
| namespace v8 {
|
| namespace internal {
|
|
|
| -// Generic and general data used by preparse data recorders and readers.
|
| -
|
| -class PreparseDataConstants : public AllStatic {
|
| - public:
|
| - // Layout and constants of the preparse data exchange format.
|
| - static const unsigned kMagicNumber = 0xBadDead;
|
| - static const unsigned kCurrentVersion = 6;
|
| -
|
| - static const int kMagicOffset = 0;
|
| - static const int kVersionOffset = 1;
|
| - static const int kHasErrorOffset = 2;
|
| - static const int kFunctionsSizeOffset = 3;
|
| - static const int kSymbolCountOffset = 4;
|
| - static const int kSizeOffset = 5;
|
| - static const int kHeaderSize = 6;
|
| -
|
| - // If encoding a message, the following positions are fixed.
|
| - static const int kMessageStartPos = 0;
|
| - static const int kMessageEndPos = 1;
|
| - static const int kMessageArgCountPos = 2;
|
| - static const int kMessageTextPos = 3;
|
| -
|
| - static const byte kNumberTerminator = 0x80u;
|
| -};
|
| -
|
| -
|
| // ----------------------------------------------------------------------------
|
| // ParserRecorder - Logging of preparser data.
|
|
|
| @@ -247,4 +221,4 @@ class CompleteParserRecorder: public FunctionLoggingParserRecorder {
|
|
|
| } } // namespace v8::internal.
|
|
|
| -#endif // V8_PREPARSER_DATA_H_
|
| +#endif // V8_PREPARSE_DATA_H_
|
|
|