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

Side by Side Diff: src/preparser.h

Issue 13465010: Fix another set of build failures on Windows since r14116. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 i::UnicodeCache* unicode_constants_; 98 i::UnicodeCache* unicode_constants_;
99 // Backing store used to store strings used as hashmap keys. 99 // Backing store used to store strings used as hashmap keys.
100 i::SequenceCollector<unsigned char> backing_store_; 100 i::SequenceCollector<unsigned char> backing_store_;
101 i::HashMap map_; 101 i::HashMap map_;
102 // Buffer used for string->number->canonical string conversions. 102 // Buffer used for string->number->canonical string conversions.
103 char number_buffer_[kBufferSize]; 103 char number_buffer_[kBufferSize];
104 }; 104 };
105 105
106 106
107 #ifdef WIN32
108 #undef Yield
109 #endif
110
111
107 class PreParser { 112 class PreParser {
108 public: 113 public:
109 enum PreParseResult { 114 enum PreParseResult {
110 kPreParseStackOverflow, 115 kPreParseStackOverflow,
111 kPreParseSuccess 116 kPreParseSuccess
112 }; 117 };
113 118
114 119
115 PreParser(i::Scanner* scanner, 120 PreParser(i::Scanner* scanner,
116 i::ParserRecorder* log, 121 i::ParserRecorder* log,
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 bool allow_lazy_; 685 bool allow_lazy_;
681 bool allow_modules_; 686 bool allow_modules_;
682 bool allow_natives_syntax_; 687 bool allow_natives_syntax_;
683 bool allow_generators_; 688 bool allow_generators_;
684 bool parenthesized_function_; 689 bool parenthesized_function_;
685 bool harmony_scoping_; 690 bool harmony_scoping_;
686 }; 691 };
687 } } // v8::preparser 692 } } // v8::preparser
688 693
689 #endif // V8_PREPARSER_H 694 #endif // V8_PREPARSER_H
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698