| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 Handle<ObjectHashTable> NewObjectHashTable(int at_least_space_for); | 63 Handle<ObjectHashTable> NewObjectHashTable(int at_least_space_for); |
| 64 | 64 |
| 65 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors); | 65 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors); |
| 66 Handle<DeoptimizationInputData> NewDeoptimizationInputData( | 66 Handle<DeoptimizationInputData> NewDeoptimizationInputData( |
| 67 int deopt_entry_count, | 67 int deopt_entry_count, |
| 68 PretenureFlag pretenure); | 68 PretenureFlag pretenure); |
| 69 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( | 69 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( |
| 70 int deopt_entry_count, | 70 int deopt_entry_count, |
| 71 PretenureFlag pretenure); | 71 PretenureFlag pretenure); |
| 72 // Allocates a pre-tenured empty AccessorPair. |
| 73 Handle<AccessorPair> NewAccessorPair(); |
| 72 | 74 |
| 73 Handle<String> LookupSymbol(Vector<const char> str); | 75 Handle<String> LookupSymbol(Vector<const char> str); |
| 74 Handle<String> LookupSymbol(Handle<String> str); | 76 Handle<String> LookupSymbol(Handle<String> str); |
| 75 Handle<String> LookupAsciiSymbol(Vector<const char> str); | 77 Handle<String> LookupAsciiSymbol(Vector<const char> str); |
| 76 Handle<String> LookupAsciiSymbol(Handle<SeqAsciiString>, | 78 Handle<String> LookupAsciiSymbol(Handle<SeqAsciiString>, |
| 77 int from, | 79 int from, |
| 78 int length); | 80 int length); |
| 79 Handle<String> LookupTwoByteSymbol(Vector<const uc16> str); | 81 Handle<String> LookupTwoByteSymbol(Vector<const uc16> str); |
| 80 Handle<String> LookupAsciiSymbol(const char* str) { | 82 Handle<String> LookupAsciiSymbol(const char* str) { |
| 81 return LookupSymbol(CStrVector(str)); | 83 return LookupSymbol(CStrVector(str)); |
| (...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 488 // Update the map cache in the global context with (keys, map) | 490 // Update the map cache in the global context with (keys, map) |
| 489 Handle<MapCache> AddToMapCache(Handle<Context> context, | 491 Handle<MapCache> AddToMapCache(Handle<Context> context, |
| 490 Handle<FixedArray> keys, | 492 Handle<FixedArray> keys, |
| 491 Handle<Map> map); | 493 Handle<Map> map); |
| 492 }; | 494 }; |
| 493 | 495 |
| 494 | 496 |
| 495 } } // namespace v8::internal | 497 } } // namespace v8::internal |
| 496 | 498 |
| 497 #endif // V8_FACTORY_H_ | 499 #endif // V8_FACTORY_H_ |
| OLD | NEW |