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

Side by Side Diff: src/preparser.h

Issue 596783002: Refactor bailout reasons and disable optimization in more cases. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: remove bogus assertion Created 6 years, 3 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/parser.cc ('k') | src/runtime.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_PREPARSER_H 5 #ifndef V8_PREPARSER_H
6 #define V8_PREPARSER_H 6 #define V8_PREPARSER_H
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/bailout-reason.h"
10 #include "src/func-name-inferrer.h" 11 #include "src/func-name-inferrer.h"
11 #include "src/hashmap.h" 12 #include "src/hashmap.h"
12 #include "src/scanner.h" 13 #include "src/scanner.h"
13 #include "src/scopes.h" 14 #include "src/scopes.h"
14 #include "src/token.h" 15 #include "src/token.h"
15 16
16 namespace v8 { 17 namespace v8 {
17 namespace internal { 18 namespace internal {
18 19
19 // Common base class shared between parser and pre-parser. Traits encapsulate 20 // Common base class shared between parser and pre-parser. Traits encapsulate
(...skipping 2808 matching lines...) Expand 10 before | Expand all | Expand 10 after
2828 DCHECK(IsAccessorAccessorConflict(old_type, type)); 2829 DCHECK(IsAccessorAccessorConflict(old_type, type));
2829 // Both accessors of the same type. 2830 // Both accessors of the same type.
2830 parser()->ReportMessage("accessor_get_set"); 2831 parser()->ReportMessage("accessor_get_set");
2831 } 2832 }
2832 *ok = false; 2833 *ok = false;
2833 } 2834 }
2834 } 2835 }
2835 } } // v8::internal 2836 } } // v8::internal
2836 2837
2837 #endif // V8_PREPARSER_H 2838 #endif // V8_PREPARSER_H
OLDNEW
« no previous file with comments | « src/parser.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698