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

Side by Side Diff: src/builtins.h

Issue 1324713002: [es6] Implement Date.prototype[@@toPrimitive] as C++ builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address Michi's comments. 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
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.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_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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 V(EmptyFunction, NO_EXTRA_ARGUMENTS) \ 50 V(EmptyFunction, NO_EXTRA_ARGUMENTS) \
51 \ 51 \
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) \
61 \
60 V(HandleApiCall, NEEDS_CALLED_FUNCTION) \ 62 V(HandleApiCall, NEEDS_CALLED_FUNCTION) \
61 V(HandleApiCallConstruct, NEEDS_CALLED_FUNCTION) \ 63 V(HandleApiCallConstruct, NEEDS_CALLED_FUNCTION) \
62 V(HandleApiCallAsFunction, NO_EXTRA_ARGUMENTS) \ 64 V(HandleApiCallAsFunction, NO_EXTRA_ARGUMENTS) \
63 V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) \ 65 V(HandleApiCallAsConstructor, NO_EXTRA_ARGUMENTS) \
64 \ 66 \
65 V(RestrictedFunctionPropertiesThrower, NO_EXTRA_ARGUMENTS) \ 67 V(RestrictedFunctionPropertiesThrower, NO_EXTRA_ARGUMENTS) \
66 V(RestrictedStrictArgumentsPropertiesThrower, NO_EXTRA_ARGUMENTS) 68 V(RestrictedStrictArgumentsPropertiesThrower, NO_EXTRA_ARGUMENTS)
67 69
68 // Define list of builtins implemented in assembly. 70 // Define list of builtins implemented in assembly.
69 #define BUILTIN_LIST_A(V) \ 71 #define BUILTIN_LIST_A(V) \
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 293
292 friend class BuiltinFunctionTable; 294 friend class BuiltinFunctionTable;
293 friend class Isolate; 295 friend class Isolate;
294 296
295 DISALLOW_COPY_AND_ASSIGN(Builtins); 297 DISALLOW_COPY_AND_ASSIGN(Builtins);
296 }; 298 };
297 299
298 } } // namespace v8::internal 300 } } // namespace v8::internal
299 301
300 #endif // V8_BUILTINS_H_ 302 #endif // V8_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698