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 "src/feedback-vector.h" | 8 #include "src/feedback-vector.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 #include "src/isolate.h" | 10 #include "src/isolate.h" |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 Handle<Struct> NewStruct(InstanceType type); | 314 Handle<Struct> NewStruct(InstanceType type); |
315 | 315 |
316 Handle<AliasedArgumentsEntry> NewAliasedArgumentsEntry( | 316 Handle<AliasedArgumentsEntry> NewAliasedArgumentsEntry( |
317 int aliased_context_slot); | 317 int aliased_context_slot); |
318 | 318 |
319 Handle<AccessorInfo> NewAccessorInfo(); | 319 Handle<AccessorInfo> NewAccessorInfo(); |
320 | 320 |
321 Handle<Script> NewScript(Handle<String> source); | 321 Handle<Script> NewScript(Handle<String> source); |
322 | 322 |
323 Handle<BreakPointInfo> NewBreakPointInfo(int source_position); | 323 Handle<BreakPointInfo> NewBreakPointInfo(int source_position); |
| 324 Handle<StackFrameInfo> NewStackFrameInfo(); |
324 | 325 |
325 // Foreign objects are pretenured when allocated by the bootstrapper. | 326 // Foreign objects are pretenured when allocated by the bootstrapper. |
326 Handle<Foreign> NewForeign(Address addr, | 327 Handle<Foreign> NewForeign(Address addr, |
327 PretenureFlag pretenure = NOT_TENURED); | 328 PretenureFlag pretenure = NOT_TENURED); |
328 | 329 |
329 // Allocate a new foreign object. The foreign is pretenured (allocated | 330 // Allocate a new foreign object. The foreign is pretenured (allocated |
330 // directly in the old generation). | 331 // directly in the old generation). |
331 Handle<Foreign> NewForeign(const AccessorDescriptor* foreign); | 332 Handle<Foreign> NewForeign(const AccessorDescriptor* foreign); |
332 | 333 |
333 Handle<ByteArray> NewByteArray(int length, | 334 Handle<ByteArray> NewByteArray(int length, |
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
829 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, | 830 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, |
830 FunctionMode function_mode); | 831 FunctionMode function_mode); |
831 | 832 |
832 void SetClassFunctionInstanceDescriptor(Handle<Map> map); | 833 void SetClassFunctionInstanceDescriptor(Handle<Map> map); |
833 }; | 834 }; |
834 | 835 |
835 } // namespace internal | 836 } // namespace internal |
836 } // namespace v8 | 837 } // namespace v8 |
837 | 838 |
838 #endif // V8_FACTORY_H_ | 839 #endif // V8_FACTORY_H_ |
OLD | NEW |