| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors); | 56 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors); |
| 57 Handle<DeoptimizationInputData> NewDeoptimizationInputData( | 57 Handle<DeoptimizationInputData> NewDeoptimizationInputData( |
| 58 int deopt_entry_count, | 58 int deopt_entry_count, |
| 59 PretenureFlag pretenure); | 59 PretenureFlag pretenure); |
| 60 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( | 60 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( |
| 61 int deopt_entry_count, | 61 int deopt_entry_count, |
| 62 PretenureFlag pretenure); | 62 PretenureFlag pretenure); |
| 63 | 63 |
| 64 Handle<String> LookupSymbol(Vector<const char> str); | 64 Handle<String> LookupSymbol(Vector<const char> str); |
| 65 Handle<String> LookupAsciiSymbol(Vector<const char> str); | 65 Handle<String> LookupAsciiSymbol(Vector<const char> str); |
| 66 Handle<String> LookupAsciiSymbol(Handle<SeqAsciiString>, |
| 67 int from, |
| 68 int length); |
| 66 Handle<String> LookupTwoByteSymbol(Vector<const uc16> str); | 69 Handle<String> LookupTwoByteSymbol(Vector<const uc16> str); |
| 67 Handle<String> LookupAsciiSymbol(const char* str) { | 70 Handle<String> LookupAsciiSymbol(const char* str) { |
| 68 return LookupSymbol(CStrVector(str)); | 71 return LookupSymbol(CStrVector(str)); |
| 69 } | 72 } |
| 70 | 73 |
| 71 | 74 |
| 72 // String creation functions. Most of the string creation functions take | 75 // String creation functions. Most of the string creation functions take |
| 73 // a Heap::PretenureFlag argument to optionally request that they be | 76 // a Heap::PretenureFlag argument to optionally request that they be |
| 74 // allocated in the old generation. The pretenure flag defaults to | 77 // allocated in the old generation. The pretenure flag defaults to |
| 75 // DONT_TENURE. | 78 // DONT_TENURE. |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 // Update the map cache in the global context with (keys, map) | 432 // Update the map cache in the global context with (keys, map) |
| 430 Handle<MapCache> AddToMapCache(Handle<Context> context, | 433 Handle<MapCache> AddToMapCache(Handle<Context> context, |
| 431 Handle<FixedArray> keys, | 434 Handle<FixedArray> keys, |
| 432 Handle<Map> map); | 435 Handle<Map> map); |
| 433 }; | 436 }; |
| 434 | 437 |
| 435 | 438 |
| 436 } } // namespace v8::internal | 439 } } // namespace v8::internal |
| 437 | 440 |
| 438 #endif // V8_FACTORY_H_ | 441 #endif // V8_FACTORY_H_ |
| OLD | NEW |