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

Side by Side Diff: src/builtins.h

Issue 1349643002: [builtins] Also simplify the Symbol constructor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@StringConstructor
Patch Set: Fix off-by-1 in DCHECK. Created 5 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
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_BUILTINS_H_ 5 #ifndef V8_BUILTINS_H_
6 #define V8_BUILTINS_H_ 6 #define V8_BUILTINS_H_
7 7
8 #include "src/handles.h" 8 #include "src/handles.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 V(ArrayPush, NO_EXTRA_ARGUMENTS) \ 52 V(ArrayPush, NO_EXTRA_ARGUMENTS) \
53 V(ArrayPop, NO_EXTRA_ARGUMENTS) \ 53 V(ArrayPop, NO_EXTRA_ARGUMENTS) \
54 V(ArrayShift, NO_EXTRA_ARGUMENTS) \ 54 V(ArrayShift, NO_EXTRA_ARGUMENTS) \
55 V(ArrayUnshift, NO_EXTRA_ARGUMENTS) \ 55 V(ArrayUnshift, NO_EXTRA_ARGUMENTS) \
56 V(ArraySlice, NO_EXTRA_ARGUMENTS) \ 56 V(ArraySlice, NO_EXTRA_ARGUMENTS) \
57 V(ArraySplice, NO_EXTRA_ARGUMENTS) \ 57 V(ArraySplice, NO_EXTRA_ARGUMENTS) \
58 V(ArrayConcat, NO_EXTRA_ARGUMENTS) \ 58 V(ArrayConcat, NO_EXTRA_ARGUMENTS) \
59 \ 59 \
60 V(DateToPrimitive, NO_EXTRA_ARGUMENTS) \ 60 V(DateToPrimitive, NO_EXTRA_ARGUMENTS) \
61 \ 61 \
62 V(SymbolConstructor, NO_EXTRA_ARGUMENTS) \
63 V(SymbolConstructor_ConstructStub, NO_EXTRA_ARGUMENTS) \
64 \
62 V(HandleApiCall, NEEDS_CALLED_FUNCTION) \ 65 V(HandleApiCall, NEEDS_CALLED_FUNCTION) \
63 V(HandleApiCallConstruct, NEEDS_CALLED_FUNCTION) \ 66 V(HandleApiCallConstruct, NEEDS_CALLED_FUNCTION) \
64 V(HandleApiCallAsFunction, NO_EXTRA_ARGUMENTS) \ 67 V(HandleApiCallAsFunction, NO_EXTRA_ARGUMENTS) \
65 V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) \ 68 V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) \
66 \ 69 \
67 V(RestrictedFunctionPropertiesThrower, NO_EXTRA_ARGUMENTS) \ 70 V(RestrictedFunctionPropertiesThrower, NO_EXTRA_ARGUMENTS) \
68 V(RestrictedStrictArgumentsPropertiesThrower, NO_EXTRA_ARGUMENTS) 71 V(RestrictedStrictArgumentsPropertiesThrower, NO_EXTRA_ARGUMENTS)
69 72
70 // Define list of builtins implemented in assembly. 73 // Define list of builtins implemented in assembly.
71 #define BUILTIN_LIST_A(V) \ 74 #define BUILTIN_LIST_A(V) \
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 311
309 friend class BuiltinFunctionTable; 312 friend class BuiltinFunctionTable;
310 friend class Isolate; 313 friend class Isolate;
311 314
312 DISALLOW_COPY_AND_ASSIGN(Builtins); 315 DISALLOW_COPY_AND_ASSIGN(Builtins);
313 }; 316 };
314 317
315 } } // namespace v8::internal 318 } } // namespace v8::internal
316 319
317 #endif // V8_BUILTINS_H_ 320 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | src/builtins.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698