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

Side by Side Diff: src/objects.h

Issue 561913002: Class syntax parsing (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add early error checks for static prototype and get/set constructor 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/messages.js ('k') | src/parser.h » ('j') | src/preparser.h » ('J')
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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assert-scope.h" 9 #include "src/assert-scope.h"
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
(...skipping 998 matching lines...) Expand 10 before | Expand all | Expand 10 after
1009 V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \ 1009 V(kBailedOutDueToDependencyChange, "Bailed out due to dependency change") \
1010 V(kBailoutWasNotPrepared, "Bailout was not prepared") \ 1010 V(kBailoutWasNotPrepared, "Bailout was not prepared") \
1011 V(kBinaryStubGenerateFloatingPointCode, \ 1011 V(kBinaryStubGenerateFloatingPointCode, \
1012 "BinaryStub_GenerateFloatingPointCode") \ 1012 "BinaryStub_GenerateFloatingPointCode") \
1013 V(kBothRegistersWereSmisInSelectNonSmi, \ 1013 V(kBothRegistersWereSmisInSelectNonSmi, \
1014 "Both registers were smis in SelectNonSmi") \ 1014 "Both registers were smis in SelectNonSmi") \
1015 V(kCallToAJavaScriptRuntimeFunction, \ 1015 V(kCallToAJavaScriptRuntimeFunction, \
1016 "Call to a JavaScript runtime function") \ 1016 "Call to a JavaScript runtime function") \
1017 V(kCannotTranslatePositionInChangedArea, \ 1017 V(kCannotTranslatePositionInChangedArea, \
1018 "Cannot translate position in changed area") \ 1018 "Cannot translate position in changed area") \
1019 V(kClassDeclaration, "Class declaration") \
1020 V(kClassLiteral, "Class literal") \
1019 V(kCodeGenerationFailed, "Code generation failed") \ 1021 V(kCodeGenerationFailed, "Code generation failed") \
1020 V(kCodeObjectNotProperlyPatched, "Code object not properly patched") \ 1022 V(kCodeObjectNotProperlyPatched, "Code object not properly patched") \
1021 V(kCompoundAssignmentToLookupSlot, "Compound assignment to lookup slot") \ 1023 V(kCompoundAssignmentToLookupSlot, "Compound assignment to lookup slot") \
1022 V(kContextAllocatedArguments, "Context-allocated arguments") \ 1024 V(kContextAllocatedArguments, "Context-allocated arguments") \
1023 V(kCopyBuffersOverlap, "Copy buffers overlap") \ 1025 V(kCopyBuffersOverlap, "Copy buffers overlap") \
1024 V(kCouldNotGenerateZero, "Could not generate +0.0") \ 1026 V(kCouldNotGenerateZero, "Could not generate +0.0") \
1025 V(kCouldNotGenerateNegativeZero, "Could not generate -0.0") \ 1027 V(kCouldNotGenerateNegativeZero, "Could not generate -0.0") \
1026 V(kDebuggerHasBreakPoints, "Debugger has break points") \ 1028 V(kDebuggerHasBreakPoints, "Debugger has break points") \
1027 V(kDebuggerStatement, "DebuggerStatement") \ 1029 V(kDebuggerStatement, "DebuggerStatement") \
1028 V(kDeclarationInCatchContext, "Declaration in catch context") \ 1030 V(kDeclarationInCatchContext, "Declaration in catch context") \
(...skipping 10095 matching lines...) Expand 10 before | Expand all | Expand 10 after
11124 } else { 11126 } else {
11125 value &= ~(1 << bit_position); 11127 value &= ~(1 << bit_position);
11126 } 11128 }
11127 return value; 11129 return value;
11128 } 11130 }
11129 }; 11131 };
11130 11132
11131 } } // namespace v8::internal 11133 } } // namespace v8::internal
11132 11134
11133 #endif // V8_OBJECTS_H_ 11135 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/messages.js ('k') | src/parser.h » ('j') | src/preparser.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698