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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 Handle<JSFunction> NewFunctionWithoutPrototype(Handle<String> name, | 342 Handle<JSFunction> NewFunctionWithoutPrototype(Handle<String> name, |
343 Handle<Code> code); | 343 Handle<Code> code); |
344 | 344 |
345 Handle<DescriptorArray> CopyAppendForeignDescriptor( | 345 Handle<DescriptorArray> CopyAppendForeignDescriptor( |
346 Handle<DescriptorArray> array, | 346 Handle<DescriptorArray> array, |
347 Handle<String> key, | 347 Handle<String> key, |
348 Handle<Object> value, | 348 Handle<Object> value, |
349 PropertyAttributes attributes); | 349 PropertyAttributes attributes); |
350 | 350 |
351 Handle<String> NumberToString(Handle<Object> number); | 351 Handle<String> NumberToString(Handle<Object> number); |
| 352 Handle<String> Uint32ToString(uint32_t value); |
352 | 353 |
353 enum ApiInstanceType { | 354 enum ApiInstanceType { |
354 JavaScriptObject, | 355 JavaScriptObject, |
355 InnerGlobalObject, | 356 InnerGlobalObject, |
356 OuterGlobalObject | 357 OuterGlobalObject |
357 }; | 358 }; |
358 | 359 |
359 Handle<JSFunction> CreateApiFunction( | 360 Handle<JSFunction> CreateApiFunction( |
360 Handle<FunctionTemplateInfo> data, | 361 Handle<FunctionTemplateInfo> data, |
361 ApiInstanceType type = JavaScriptObject); | 362 ApiInstanceType type = JavaScriptObject); |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 // Update the map cache in the global context with (keys, map) | 456 // Update the map cache in the global context with (keys, map) |
456 Handle<MapCache> AddToMapCache(Handle<Context> context, | 457 Handle<MapCache> AddToMapCache(Handle<Context> context, |
457 Handle<FixedArray> keys, | 458 Handle<FixedArray> keys, |
458 Handle<Map> map); | 459 Handle<Map> map); |
459 }; | 460 }; |
460 | 461 |
461 | 462 |
462 } } // namespace v8::internal | 463 } } // namespace v8::internal |
463 | 464 |
464 #endif // V8_FACTORY_H_ | 465 #endif // V8_FACTORY_H_ |
OLD | NEW |