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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 Handle<JSFunction> NewFunctionWithPrototype(Handle<String> name, | 378 Handle<JSFunction> NewFunctionWithPrototype(Handle<String> name, |
379 InstanceType type, | 379 InstanceType type, |
380 int instance_size, | 380 int instance_size, |
381 Handle<JSObject> prototype, | 381 Handle<JSObject> prototype, |
382 Handle<Code> code, | 382 Handle<Code> code, |
383 bool force_initial_map); | 383 bool force_initial_map); |
384 | 384 |
385 Handle<JSFunction> NewFunctionWithoutPrototype(Handle<String> name, | 385 Handle<JSFunction> NewFunctionWithoutPrototype(Handle<String> name, |
386 Handle<Code> code); | 386 Handle<Code> code); |
387 | 387 |
388 Handle<DescriptorArray> CopyAppendForeignDescriptor( | |
389 Handle<DescriptorArray> array, | |
390 Handle<String> key, | |
391 Handle<Object> value, | |
392 PropertyAttributes attributes); | |
393 | |
394 Handle<String> NumberToString(Handle<Object> number); | 388 Handle<String> NumberToString(Handle<Object> number); |
395 Handle<String> Uint32ToString(uint32_t value); | 389 Handle<String> Uint32ToString(uint32_t value); |
396 | 390 |
397 enum ApiInstanceType { | 391 enum ApiInstanceType { |
398 JavaScriptObject, | 392 JavaScriptObject, |
399 InnerGlobalObject, | 393 InnerGlobalObject, |
400 OuterGlobalObject | 394 OuterGlobalObject |
401 }; | 395 }; |
402 | 396 |
403 Handle<JSFunction> CreateApiFunction( | 397 Handle<JSFunction> CreateApiFunction( |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 // Update the map cache in the global context with (keys, map) | 506 // Update the map cache in the global context with (keys, map) |
513 Handle<MapCache> AddToMapCache(Handle<Context> context, | 507 Handle<MapCache> AddToMapCache(Handle<Context> context, |
514 Handle<FixedArray> keys, | 508 Handle<FixedArray> keys, |
515 Handle<Map> map); | 509 Handle<Map> map); |
516 }; | 510 }; |
517 | 511 |
518 | 512 |
519 } } // namespace v8::internal | 513 } } // namespace v8::internal |
520 | 514 |
521 #endif // V8_FACTORY_H_ | 515 #endif // V8_FACTORY_H_ |
OLD | NEW |