OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 Handle<Context> previous, | 195 Handle<Context> previous, |
196 Handle<ScopeInfo> scope_info); | 196 Handle<ScopeInfo> scope_info); |
197 | 197 |
198 // Return the Symbol matching the passed in string. | 198 // Return the Symbol matching the passed in string. |
199 Handle<String> SymbolFromString(Handle<String> value); | 199 Handle<String> SymbolFromString(Handle<String> value); |
200 | 200 |
201 // Allocate a new struct. The struct is pretenured (allocated directly in | 201 // Allocate a new struct. The struct is pretenured (allocated directly in |
202 // the old generation). | 202 // the old generation). |
203 Handle<Struct> NewStruct(InstanceType type); | 203 Handle<Struct> NewStruct(InstanceType type); |
204 | 204 |
| 205 Handle<DeclaredAccessorDescriptor> NewDeclaredAccessorDescriptor(); |
| 206 |
205 Handle<DeclaredAccessorInfo> NewDeclaredAccessorInfo(); | 207 Handle<DeclaredAccessorInfo> NewDeclaredAccessorInfo(); |
206 | 208 |
207 Handle<ExecutableAccessorInfo> NewExecutableAccessorInfo(); | 209 Handle<ExecutableAccessorInfo> NewExecutableAccessorInfo(); |
208 | 210 |
209 Handle<Script> NewScript(Handle<String> source); | 211 Handle<Script> NewScript(Handle<String> source); |
210 | 212 |
211 // Foreign objects are pretenured when allocated by the bootstrapper. | 213 // Foreign objects are pretenured when allocated by the bootstrapper. |
212 Handle<Foreign> NewForeign(Address addr, | 214 Handle<Foreign> NewForeign(Address addr, |
213 PretenureFlag pretenure = NOT_TENURED); | 215 PretenureFlag pretenure = NOT_TENURED); |
214 | 216 |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 // Update the map cache in the native context with (keys, map) | 522 // Update the map cache in the native context with (keys, map) |
521 Handle<MapCache> AddToMapCache(Handle<Context> context, | 523 Handle<MapCache> AddToMapCache(Handle<Context> context, |
522 Handle<FixedArray> keys, | 524 Handle<FixedArray> keys, |
523 Handle<Map> map); | 525 Handle<Map> map); |
524 }; | 526 }; |
525 | 527 |
526 | 528 |
527 } } // namespace v8::internal | 529 } } // namespace v8::internal |
528 | 530 |
529 #endif // V8_FACTORY_H_ | 531 #endif // V8_FACTORY_H_ |
OLD | NEW |