| OLD | NEW |
| 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" |
| 9 |
| 8 namespace v8 { | 10 namespace v8 { |
| 9 namespace internal { | 11 namespace internal { |
| 10 | 12 |
| 11 // Specifies extra arguments required by a C++ builtin. | 13 // Specifies extra arguments required by a C++ builtin. |
| 12 enum BuiltinExtraArguments { | 14 enum BuiltinExtraArguments { |
| 13 NO_EXTRA_ARGUMENTS = 0, | 15 NO_EXTRA_ARGUMENTS = 0, |
| 14 NEEDS_CALLED_FUNCTION = 1 | 16 NEEDS_CALLED_FUNCTION = 1 |
| 15 }; | 17 }; |
| 16 | 18 |
| 17 | 19 |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 | 346 |
| 345 friend class BuiltinFunctionTable; | 347 friend class BuiltinFunctionTable; |
| 346 friend class Isolate; | 348 friend class Isolate; |
| 347 | 349 |
| 348 DISALLOW_COPY_AND_ASSIGN(Builtins); | 350 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 349 }; | 351 }; |
| 350 | 352 |
| 351 } } // namespace v8::internal | 353 } } // namespace v8::internal |
| 352 | 354 |
| 353 #endif // V8_BUILTINS_H_ | 355 #endif // V8_BUILTINS_H_ |
| OLD | NEW |