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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 Handle<Context> previous, | 217 Handle<Context> previous, |
218 Handle<ScopeInfo> scope_info); | 218 Handle<ScopeInfo> scope_info); |
219 | 219 |
220 // Return the internalized version of the passed in string. | 220 // Return the internalized version of the passed in string. |
221 Handle<String> InternalizedStringFromString(Handle<String> value); | 221 Handle<String> InternalizedStringFromString(Handle<String> value); |
222 | 222 |
223 // Allocate a new struct. The struct is pretenured (allocated directly in | 223 // Allocate a new struct. The struct is pretenured (allocated directly in |
224 // the old generation). | 224 // the old generation). |
225 Handle<Struct> NewStruct(InstanceType type); | 225 Handle<Struct> NewStruct(InstanceType type); |
226 | 226 |
| 227 Handle<AliasedArgumentsEntry> NewAliasedArgumentsEntry( |
| 228 int aliased_context_slot); |
| 229 |
227 Handle<DeclaredAccessorDescriptor> NewDeclaredAccessorDescriptor(); | 230 Handle<DeclaredAccessorDescriptor> NewDeclaredAccessorDescriptor(); |
228 | 231 |
229 Handle<DeclaredAccessorInfo> NewDeclaredAccessorInfo(); | 232 Handle<DeclaredAccessorInfo> NewDeclaredAccessorInfo(); |
230 | 233 |
231 Handle<ExecutableAccessorInfo> NewExecutableAccessorInfo(); | 234 Handle<ExecutableAccessorInfo> NewExecutableAccessorInfo(); |
232 | 235 |
233 Handle<Script> NewScript(Handle<String> source); | 236 Handle<Script> NewScript(Handle<String> source); |
234 | 237 |
235 // Foreign objects are pretenured when allocated by the bootstrapper. | 238 // Foreign objects are pretenured when allocated by the bootstrapper. |
236 Handle<Foreign> NewForeign(Address addr, | 239 Handle<Foreign> NewForeign(Address addr, |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 isolate()); | 588 isolate()); |
586 } else { | 589 } else { |
587 return NewNumber(static_cast<double>(value), pretenure); | 590 return NewNumber(static_cast<double>(value), pretenure); |
588 } | 591 } |
589 } | 592 } |
590 | 593 |
591 | 594 |
592 } } // namespace v8::internal | 595 } } // namespace v8::internal |
593 | 596 |
594 #endif // V8_FACTORY_H_ | 597 #endif // V8_FACTORY_H_ |
OLD | NEW |