OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_FACTORY_H_ | 5 #ifndef V8_FACTORY_H_ |
6 #define V8_FACTORY_H_ | 6 #define V8_FACTORY_H_ |
7 | 7 |
8 #include "isolate.h" | 8 #include "src/isolate.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
12 | 12 |
13 // Interface for handle based allocation. | 13 // Interface for handle based allocation. |
14 | 14 |
15 class Factory V8_FINAL { | 15 class Factory V8_FINAL { |
16 public: | 16 public: |
17 Handle<Oddball> NewOddball(Handle<Map> map, | 17 Handle<Oddball> NewOddball(Handle<Map> map, |
18 const char* to_string, | 18 const char* to_string, |
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 PretenureFlag pretenure = TENURED); | 694 PretenureFlag pretenure = TENURED); |
695 | 695 |
696 Handle<JSFunction> NewFunction(Handle<Map> map, | 696 Handle<JSFunction> NewFunction(Handle<Map> map, |
697 Handle<String> name, | 697 Handle<String> name, |
698 MaybeHandle<Code> maybe_code); | 698 MaybeHandle<Code> maybe_code); |
699 }; | 699 }; |
700 | 700 |
701 } } // namespace v8::internal | 701 } } // namespace v8::internal |
702 | 702 |
703 #endif // V8_FACTORY_H_ | 703 #endif // V8_FACTORY_H_ |
OLD | NEW |