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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 INTERNALIZED_STRING_LIST(STRING_ACCESSOR) | 447 INTERNALIZED_STRING_LIST(STRING_ACCESSOR) |
448 #undef STRING_ACCESSOR | 448 #undef STRING_ACCESSOR |
449 | 449 |
450 Handle<String> hidden_string() { | 450 Handle<String> hidden_string() { |
451 return Handle<String>(&isolate()->heap()->hidden_string_); | 451 return Handle<String>(&isolate()->heap()->hidden_string_); |
452 } | 452 } |
453 | 453 |
454 Handle<SharedFunctionInfo> NewSharedFunctionInfo( | 454 Handle<SharedFunctionInfo> NewSharedFunctionInfo( |
455 Handle<String> name, | 455 Handle<String> name, |
456 int number_of_literals, | 456 int number_of_literals, |
| 457 bool is_generator, |
457 Handle<Code> code, | 458 Handle<Code> code, |
458 Handle<ScopeInfo> scope_info); | 459 Handle<ScopeInfo> scope_info); |
459 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name); | 460 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name); |
460 | 461 |
461 Handle<JSMessageObject> NewJSMessageObject( | 462 Handle<JSMessageObject> NewJSMessageObject( |
462 Handle<String> type, | 463 Handle<String> type, |
463 Handle<JSArray> arguments, | 464 Handle<JSArray> arguments, |
464 int start_position, | 465 int start_position, |
465 int end_position, | 466 int end_position, |
466 Handle<Object> script, | 467 Handle<Object> script, |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 // Update the map cache in the native context with (keys, map) | 527 // Update the map cache in the native context with (keys, map) |
527 Handle<MapCache> AddToMapCache(Handle<Context> context, | 528 Handle<MapCache> AddToMapCache(Handle<Context> context, |
528 Handle<FixedArray> keys, | 529 Handle<FixedArray> keys, |
529 Handle<Map> map); | 530 Handle<Map> map); |
530 }; | 531 }; |
531 | 532 |
532 | 533 |
533 } } // namespace v8::internal | 534 } } // namespace v8::internal |
534 | 535 |
535 #endif // V8_FACTORY_H_ | 536 #endif // V8_FACTORY_H_ |
OLD | NEW |