OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 // Allocate a new fixed array with non-existing entries (the hole). | 47 // Allocate a new fixed array with non-existing entries (the hole). |
48 Handle<FixedArray> NewFixedArrayWithHoles( | 48 Handle<FixedArray> NewFixedArrayWithHoles( |
49 int size, | 49 int size, |
50 PretenureFlag pretenure = NOT_TENURED); | 50 PretenureFlag pretenure = NOT_TENURED); |
51 | 51 |
52 // Allocate a new uninitialized fixed double array. | 52 // Allocate a new uninitialized fixed double array. |
53 Handle<FixedArray> NewFixedDoubleArray( | 53 Handle<FixedArray> NewFixedDoubleArray( |
54 int size, | 54 int size, |
55 PretenureFlag pretenure = NOT_TENURED); | 55 PretenureFlag pretenure = NOT_TENURED); |
56 | 56 |
57 Handle<NumberDictionary> NewNumberDictionary(int at_least_space_for); | 57 Handle<SeededNumberDictionary> NewSeededNumberDictionary( |
| 58 int at_least_space_for); |
| 59 |
| 60 Handle<UnseededNumberDictionary> NewUnseededNumberDictionary( |
| 61 int at_least_space_for); |
58 | 62 |
59 Handle<StringDictionary> NewStringDictionary(int at_least_space_for); | 63 Handle<StringDictionary> NewStringDictionary(int at_least_space_for); |
60 | 64 |
61 Handle<ObjectHashTable> NewObjectHashTable(int at_least_space_for); | 65 Handle<ObjectHashTable> NewObjectHashTable(int at_least_space_for); |
62 | 66 |
63 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors); | 67 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors); |
64 Handle<DeoptimizationInputData> NewDeoptimizationInputData( | 68 Handle<DeoptimizationInputData> NewDeoptimizationInputData( |
65 int deopt_entry_count, | 69 int deopt_entry_count, |
66 PretenureFlag pretenure); | 70 PretenureFlag pretenure); |
67 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( | 71 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 | 409 |
406 Handle<JSMessageObject> NewJSMessageObject( | 410 Handle<JSMessageObject> NewJSMessageObject( |
407 Handle<String> type, | 411 Handle<String> type, |
408 Handle<JSArray> arguments, | 412 Handle<JSArray> arguments, |
409 int start_position, | 413 int start_position, |
410 int end_position, | 414 int end_position, |
411 Handle<Object> script, | 415 Handle<Object> script, |
412 Handle<Object> stack_trace, | 416 Handle<Object> stack_trace, |
413 Handle<Object> stack_frames); | 417 Handle<Object> stack_frames); |
414 | 418 |
415 Handle<NumberDictionary> DictionaryAtNumberPut( | 419 Handle<SeededNumberDictionary> DictionaryAtNumberPut( |
416 Handle<NumberDictionary>, | 420 Handle<SeededNumberDictionary>, |
| 421 uint32_t key, |
| 422 Handle<Object> value); |
| 423 |
| 424 Handle<UnseededNumberDictionary> DictionaryAtNumberPut( |
| 425 Handle<UnseededNumberDictionary>, |
417 uint32_t key, | 426 uint32_t key, |
418 Handle<Object> value); | 427 Handle<Object> value); |
419 | 428 |
420 #ifdef ENABLE_DEBUGGER_SUPPORT | 429 #ifdef ENABLE_DEBUGGER_SUPPORT |
421 Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared); | 430 Handle<DebugInfo> NewDebugInfo(Handle<SharedFunctionInfo> shared); |
422 #endif | 431 #endif |
423 | 432 |
424 // Return a map using the map cache in the global context. | 433 // Return a map using the map cache in the global context. |
425 // The key the an ordered set of property names. | 434 // The key the an ordered set of property names. |
426 Handle<Map> ObjectLiteralMapFromCache(Handle<Context> context, | 435 Handle<Map> ObjectLiteralMapFromCache(Handle<Context> context, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 // Update the map cache in the global context with (keys, map) | 471 // Update the map cache in the global context with (keys, map) |
463 Handle<MapCache> AddToMapCache(Handle<Context> context, | 472 Handle<MapCache> AddToMapCache(Handle<Context> context, |
464 Handle<FixedArray> keys, | 473 Handle<FixedArray> keys, |
465 Handle<Map> map); | 474 Handle<Map> map); |
466 }; | 475 }; |
467 | 476 |
468 | 477 |
469 } } // namespace v8::internal | 478 } } // namespace v8::internal |
470 | 479 |
471 #endif // V8_FACTORY_H_ | 480 #endif // V8_FACTORY_H_ |
OLD | NEW |