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

Side by Side Diff: src/preparse-data.h

Issue 277913002: Presubmit checks recover. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebasing Created 6 years, 7 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.h ('k') | src/regexp-macro-assembler-tracer.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_PREPARSE_DATA_H_ 5 #ifndef V8_PREPARSE_DATA_H_
6 #define V8_PREPARSE_DATA_H_ 6 #define V8_PREPARSE_DATA_H_
7 7
8 #include "allocation.h" 8 #include "allocation.h"
9 #include "hashmap.h" 9 #include "hashmap.h"
10 #include "utils-inl.h" 10 #include "utils-inl.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 int end, 51 int end,
52 int literals, 52 int literals,
53 int properties, 53 int properties,
54 StrictMode strict_mode) { 54 StrictMode strict_mode) {
55 ASSERT(!has_error_); 55 ASSERT(!has_error_);
56 start_ = start; 56 start_ = start;
57 end_ = end; 57 end_ = end;
58 literals_ = literals; 58 literals_ = literals;
59 properties_ = properties; 59 properties_ = properties;
60 strict_mode_ = strict_mode; 60 strict_mode_ = strict_mode;
61 }; 61 }
62 62
63 // Logs an error message and marks the log as containing an error. 63 // Logs an error message and marks the log as containing an error.
64 // Further logging will be ignored, and ExtractData will return a vector 64 // Further logging will be ignored, and ExtractData will return a vector
65 // representing the error only. 65 // representing the error only.
66 virtual void LogMessage(int start, 66 virtual void LogMessage(int start,
67 int end, 67 int end,
68 const char* message, 68 const char* message,
69 const char* argument_opt, 69 const char* argument_opt,
70 bool is_reference_error) { 70 bool is_reference_error) {
71 if (has_error_) return; 71 if (has_error_) return;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 #ifdef DEBUG 166 #ifdef DEBUG
167 int prev_start_; 167 int prev_start_;
168 #endif 168 #endif
169 }; 169 };
170 170
171 171
172 } } // namespace v8::internal. 172 } } // namespace v8::internal.
173 173
174 #endif // V8_PREPARSE_DATA_H_ 174 #endif // V8_PREPARSE_DATA_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/regexp-macro-assembler-tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698