| 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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 // the old generation). | 335 // the old generation). |
| 336 Handle<Struct> NewStruct(InstanceType type); | 336 Handle<Struct> NewStruct(InstanceType type); |
| 337 | 337 |
| 338 Handle<AliasedArgumentsEntry> NewAliasedArgumentsEntry( | 338 Handle<AliasedArgumentsEntry> NewAliasedArgumentsEntry( |
| 339 int aliased_context_slot); | 339 int aliased_context_slot); |
| 340 | 340 |
| 341 Handle<AccessorInfo> NewAccessorInfo(); | 341 Handle<AccessorInfo> NewAccessorInfo(); |
| 342 | 342 |
| 343 Handle<Script> NewScript(Handle<String> source); | 343 Handle<Script> NewScript(Handle<String> source); |
| 344 | 344 |
| 345 Handle<BreakPoint> NewBreakPoint(Handle<String> condition, |
| 346 Handle<Object> data); |
| 347 |
| 345 Handle<BreakPointInfo> NewBreakPointInfo(int source_position); | 348 Handle<BreakPointInfo> NewBreakPointInfo(int source_position); |
| 346 | 349 |
| 347 // Foreign objects are pretenured when allocated by the bootstrapper. | 350 // Foreign objects are pretenured when allocated by the bootstrapper. |
| 348 Handle<Foreign> NewForeign(Address addr, | 351 Handle<Foreign> NewForeign(Address addr, |
| 349 PretenureFlag pretenure = NOT_TENURED); | 352 PretenureFlag pretenure = NOT_TENURED); |
| 350 | 353 |
| 351 // Allocate a new foreign object. The foreign is pretenured (allocated | 354 // Allocate a new foreign object. The foreign is pretenured (allocated |
| 352 // directly in the old generation). | 355 // directly in the old generation). |
| 353 Handle<Foreign> NewForeign(const AccessorDescriptor* foreign); | 356 Handle<Foreign> NewForeign(const AccessorDescriptor* foreign); |
| 354 | 357 |
| (...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, | 842 void SetStrictFunctionInstanceDescriptor(Handle<Map> map, |
| 840 FunctionMode function_mode); | 843 FunctionMode function_mode); |
| 841 | 844 |
| 842 void SetClassFunctionInstanceDescriptor(Handle<Map> map); | 845 void SetClassFunctionInstanceDescriptor(Handle<Map> map); |
| 843 }; | 846 }; |
| 844 | 847 |
| 845 } // namespace internal | 848 } // namespace internal |
| 846 } // namespace v8 | 849 } // namespace v8 |
| 847 | 850 |
| 848 #endif // V8_FACTORY_H_ | 851 #endif // V8_FACTORY_H_ |
| OLD | NEW |