OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 class BuiltinFunctionTable; | 258 class BuiltinFunctionTable; |
259 class ObjectVisitor; | 259 class ObjectVisitor; |
260 | 260 |
261 | 261 |
262 class Builtins { | 262 class Builtins { |
263 public: | 263 public: |
264 ~Builtins(); | 264 ~Builtins(); |
265 | 265 |
266 // Generate all builtin code objects. Should be called once during | 266 // Generate all builtin code objects. Should be called once during |
267 // isolate initialization. | 267 // isolate initialization. |
268 void Setup(bool create_heap_objects); | 268 void SetUp(bool create_heap_objects); |
269 void TearDown(); | 269 void TearDown(); |
270 | 270 |
271 // Garbage collection support. | 271 // Garbage collection support. |
272 void IterateBuiltins(ObjectVisitor* v); | 272 void IterateBuiltins(ObjectVisitor* v); |
273 | 273 |
274 // Disassembler support. | 274 // Disassembler support. |
275 const char* Lookup(byte* pc); | 275 const char* Lookup(byte* pc); |
276 | 276 |
277 enum Name { | 277 enum Name { |
278 #define DEF_ENUM_C(name, ignore) k##name, | 278 #define DEF_ENUM_C(name, ignore) k##name, |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 | 375 |
376 friend class BuiltinFunctionTable; | 376 friend class BuiltinFunctionTable; |
377 friend class Isolate; | 377 friend class Isolate; |
378 | 378 |
379 DISALLOW_COPY_AND_ASSIGN(Builtins); | 379 DISALLOW_COPY_AND_ASSIGN(Builtins); |
380 }; | 380 }; |
381 | 381 |
382 } } // namespace v8::internal | 382 } } // namespace v8::internal |
383 | 383 |
384 #endif // V8_BUILTINS_H_ | 384 #endif // V8_BUILTINS_H_ |
OLD | NEW |