Chromium Code Reviews| 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_BUILTINS_H_ | 5 #ifndef V8_BUILTINS_BUILTINS_H_ |
| 6 #define V8_BUILTINS_BUILTINS_H_ | 6 #define V8_BUILTINS_BUILTINS_H_ |
| 7 | 7 |
| 8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
| 9 #include "src/globals.h" | 9 #include "src/globals.h" |
| 10 | 10 |
| (...skipping 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 879 // isolate initialization. | 879 // isolate initialization. |
| 880 void SetUp(Isolate* isolate, bool create_heap_objects); | 880 void SetUp(Isolate* isolate, bool create_heap_objects); |
| 881 void TearDown(); | 881 void TearDown(); |
| 882 | 882 |
| 883 // Garbage collection support. | 883 // Garbage collection support. |
| 884 void IterateBuiltins(ObjectVisitor* v); | 884 void IterateBuiltins(ObjectVisitor* v); |
| 885 | 885 |
| 886 // Disassembler support. | 886 // Disassembler support. |
| 887 const char* Lookup(byte* pc); | 887 const char* Lookup(byte* pc); |
| 888 | 888 |
| 889 enum Name { | 889 enum Name : int32_t { |
|
Tobias Tebbi
2017/03/02 10:28:38
drive-by fix to recover the change from
https://c
Michael Starzinger
2017/03/02 16:38:35
Acknowledged.
| |
| 890 #define DEF_ENUM(Name, ...) k##Name, | 890 #define DEF_ENUM(Name, ...) k##Name, |
| 891 BUILTIN_LIST_ALL(DEF_ENUM) | 891 BUILTIN_LIST_ALL(DEF_ENUM) |
| 892 #undef DEF_ENUM | 892 #undef DEF_ENUM |
| 893 builtin_count | 893 builtin_count |
| 894 }; | 894 }; |
| 895 | 895 |
| 896 #define DECLARE_BUILTIN_ACCESSOR(Name, ...) \ | 896 #define DECLARE_BUILTIN_ACCESSOR(Name, ...) \ |
| 897 V8_EXPORT_PRIVATE Handle<Code> Name(); | 897 V8_EXPORT_PRIVATE Handle<Code> Name(); |
| 898 BUILTIN_LIST_ALL(DECLARE_BUILTIN_ACCESSOR) | 898 BUILTIN_LIST_ALL(DECLARE_BUILTIN_ACCESSOR) |
| 899 #undef DECLARE_BUILTIN_ACCESSOR | 899 #undef DECLARE_BUILTIN_ACCESSOR |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 994 | 994 |
| 995 friend class Isolate; | 995 friend class Isolate; |
| 996 | 996 |
| 997 DISALLOW_COPY_AND_ASSIGN(Builtins); | 997 DISALLOW_COPY_AND_ASSIGN(Builtins); |
| 998 }; | 998 }; |
| 999 | 999 |
| 1000 } // namespace internal | 1000 } // namespace internal |
| 1001 } // namespace v8 | 1001 } // namespace v8 |
| 1002 | 1002 |
| 1003 #endif // V8_BUILTINS_BUILTINS_H_ | 1003 #endif // V8_BUILTINS_BUILTINS_H_ |
| OLD | NEW |