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

Side by Side Diff: src/runtime.h

Issue 160073006: Implement handling of arrow functions in the parser (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Extra parens in parameter lists now recognized, no longer segfaults on "()" Created 6 years, 6 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
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_RUNTIME_H_ 5 #ifndef V8_RUNTIME_H_
6 #define V8_RUNTIME_H_ 6 #define V8_RUNTIME_H_
7 7
8 #include "allocation.h" 8 #include "allocation.h"
9 #include "zone.h" 9 #include "zone.h"
10 10
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ 178 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \
179 /* Reflection */ \ 179 /* Reflection */ \
180 F(FunctionSetInstanceClassName, 2, 1) \ 180 F(FunctionSetInstanceClassName, 2, 1) \
181 F(FunctionSetLength, 2, 1) \ 181 F(FunctionSetLength, 2, 1) \
182 F(FunctionSetPrototype, 2, 1) \ 182 F(FunctionSetPrototype, 2, 1) \
183 F(FunctionGetName, 1, 1) \ 183 F(FunctionGetName, 1, 1) \
184 F(FunctionSetName, 2, 1) \ 184 F(FunctionSetName, 2, 1) \
185 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \ 185 F(FunctionNameShouldPrintAsAnonymous, 1, 1) \
186 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \ 186 F(FunctionMarkNameShouldPrintAsAnonymous, 1, 1) \
187 F(FunctionIsGenerator, 1, 1) \ 187 F(FunctionIsGenerator, 1, 1) \
188 F(FunctionIsArrow, 1, 1) \
188 F(FunctionBindArguments, 4, 1) \ 189 F(FunctionBindArguments, 4, 1) \
189 F(BoundFunctionGetBindings, 1, 1) \ 190 F(BoundFunctionGetBindings, 1, 1) \
190 F(FunctionRemovePrototype, 1, 1) \ 191 F(FunctionRemovePrototype, 1, 1) \
191 F(FunctionGetSourceCode, 1, 1) \ 192 F(FunctionGetSourceCode, 1, 1) \
192 F(FunctionGetScript, 1, 1) \ 193 F(FunctionGetScript, 1, 1) \
193 F(FunctionGetScriptSourcePosition, 1, 1) \ 194 F(FunctionGetScriptSourcePosition, 1, 1) \
194 F(FunctionGetPositionForOffset, 2, 1) \ 195 F(FunctionGetPositionForOffset, 2, 1) \
195 F(FunctionIsAPIFunction, 1, 1) \ 196 F(FunctionIsAPIFunction, 1, 1) \
196 F(FunctionIsBuiltin, 1, 1) \ 197 F(FunctionIsBuiltin, 1, 1) \
197 F(GetScript, 1, 1) \ 198 F(GetScript, 1, 1) \
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 890 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
890 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 891 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
891 892
892 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 893 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
893 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 894 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
894 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; 895 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
895 896
896 } } // namespace v8::internal 897 } } // namespace v8::internal
897 898
898 #endif // V8_RUNTIME_H_ 899 #endif // V8_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698