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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 PretenureFlag pretenure = NOT_TENURED); | 230 PretenureFlag pretenure = NOT_TENURED); |
231 | 231 |
232 Handle<ExternalArray> NewExternalArray( | 232 Handle<ExternalArray> NewExternalArray( |
233 int length, | 233 int length, |
234 ExternalArrayType array_type, | 234 ExternalArrayType array_type, |
235 void* external_pointer, | 235 void* external_pointer, |
236 PretenureFlag pretenure = NOT_TENURED); | 236 PretenureFlag pretenure = NOT_TENURED); |
237 | 237 |
238 Handle<Cell> NewCell(Handle<Object> value); | 238 Handle<Cell> NewCell(Handle<Object> value); |
239 | 239 |
240 Handle<JSGlobalPropertyCell> NewJSGlobalPropertyCell( | 240 Handle<PropertyCell> NewPropertyCell(Handle<Object> value); |
241 Handle<Object> value); | |
242 | 241 |
243 Handle<Map> NewMap( | 242 Handle<Map> NewMap( |
244 InstanceType type, | 243 InstanceType type, |
245 int instance_size, | 244 int instance_size, |
246 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND); | 245 ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND); |
247 | 246 |
248 Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function); | 247 Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function); |
249 | 248 |
250 Handle<Map> CopyWithPreallocatedFieldDescriptors(Handle<Map> map); | 249 Handle<Map> CopyWithPreallocatedFieldDescriptors(Handle<Map> map); |
251 | 250 |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 } else { | 555 } else { |
557 return NewNumber(static_cast<double>(value), pretenure); | 556 return NewNumber(static_cast<double>(value), pretenure); |
558 } | 557 } |
559 } | 558 } |
560 | 559 |
561 | 560 |
562 | 561 |
563 } } // namespace v8::internal | 562 } } // namespace v8::internal |
564 | 563 |
565 #endif // V8_FACTORY_H_ | 564 #endif // V8_FACTORY_H_ |
OLD | NEW |