| 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 Handle<Context> previous, | 198 Handle<Context> previous, |
| 199 Handle<ScopeInfo> scope_info); | 199 Handle<ScopeInfo> scope_info); |
| 200 | 200 |
| 201 // Return the internalized version of the passed in string. | 201 // Return the internalized version of the passed in string. |
| 202 Handle<String> InternalizedStringFromString(Handle<String> value); | 202 Handle<String> InternalizedStringFromString(Handle<String> value); |
| 203 | 203 |
| 204 // Allocate a new struct. The struct is pretenured (allocated directly in | 204 // Allocate a new struct. The struct is pretenured (allocated directly in |
| 205 // the old generation). | 205 // the old generation). |
| 206 Handle<Struct> NewStruct(InstanceType type); | 206 Handle<Struct> NewStruct(InstanceType type); |
| 207 | 207 |
| 208 Handle<DeclaredAccessorDescriptor> NewDeclaredAccessorDescriptor(); |
| 209 |
| 208 Handle<DeclaredAccessorInfo> NewDeclaredAccessorInfo(); | 210 Handle<DeclaredAccessorInfo> NewDeclaredAccessorInfo(); |
| 209 | 211 |
| 210 Handle<ExecutableAccessorInfo> NewExecutableAccessorInfo(); | 212 Handle<ExecutableAccessorInfo> NewExecutableAccessorInfo(); |
| 211 | 213 |
| 212 Handle<Script> NewScript(Handle<String> source); | 214 Handle<Script> NewScript(Handle<String> source); |
| 213 | 215 |
| 214 // Foreign objects are pretenured when allocated by the bootstrapper. | 216 // Foreign objects are pretenured when allocated by the bootstrapper. |
| 215 Handle<Foreign> NewForeign(Address addr, | 217 Handle<Foreign> NewForeign(Address addr, |
| 216 PretenureFlag pretenure = NOT_TENURED); | 218 PretenureFlag pretenure = NOT_TENURED); |
| 217 | 219 |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 // Update the map cache in the native context with (keys, map) | 526 // Update the map cache in the native context with (keys, map) |
| 525 Handle<MapCache> AddToMapCache(Handle<Context> context, | 527 Handle<MapCache> AddToMapCache(Handle<Context> context, |
| 526 Handle<FixedArray> keys, | 528 Handle<FixedArray> keys, |
| 527 Handle<Map> map); | 529 Handle<Map> map); |
| 528 }; | 530 }; |
| 529 | 531 |
| 530 | 532 |
| 531 } } // namespace v8::internal | 533 } } // namespace v8::internal |
| 532 | 534 |
| 533 #endif // V8_FACTORY_H_ | 535 #endif // V8_FACTORY_H_ |
| OLD | NEW |