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

Side by Side Diff: src/parser.h

Issue 9231009: More spelling changes. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 11 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 | « src/objects-printer.cc ('k') | src/parser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 // Preparser that only does preprocessing that makes sense if only used 179 // Preparser that only does preprocessing that makes sense if only used
180 // immediately after. 180 // immediately after.
181 static ScriptDataImpl* PartialPreParse(Handle<String> source, 181 static ScriptDataImpl* PartialPreParse(Handle<String> source,
182 v8::Extension* extension, 182 v8::Extension* extension,
183 int flags); 183 int flags);
184 }; 184 };
185 185
186 // ---------------------------------------------------------------------------- 186 // ----------------------------------------------------------------------------
187 // REGEXP PARSING 187 // REGEXP PARSING
188 188
189 // A BuffferedZoneList is an automatically growing list, just like (and backed 189 // A BufferedZoneList is an automatically growing list, just like (and backed
190 // by) a ZoneList, that is optimized for the case of adding and removing 190 // by) a ZoneList, that is optimized for the case of adding and removing
191 // a single element. The last element added is stored outside the backing list, 191 // a single element. The last element added is stored outside the backing list,
192 // and if no more than one element is ever added, the ZoneList isn't even 192 // and if no more than one element is ever added, the ZoneList isn't even
193 // allocated. 193 // allocated.
194 // Elements must not be NULL pointers. 194 // Elements must not be NULL pointers.
195 template <typename T, int initial_size> 195 template <typename T, int initial_size>
196 class BufferedZoneList { 196 class BufferedZoneList {
197 public: 197 public:
198 BufferedZoneList() : list_(NULL), last_(NULL) {} 198 BufferedZoneList() : list_(NULL), last_(NULL) {}
199 199
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 private: 800 private:
801 static const int kTypeSlot = 0; 801 static const int kTypeSlot = 0;
802 static const int kElementsSlot = 1; 802 static const int kElementsSlot = 1;
803 803
804 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue); 804 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue);
805 }; 805 };
806 806
807 } } // namespace v8::internal 807 } } // namespace v8::internal
808 808
809 #endif // V8_PARSER_H_ 809 #endif // V8_PARSER_H_
OLDNEW
« no previous file with comments | « src/objects-printer.cc ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698