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 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 #undef STRING_ACCESSOR | 543 #undef STRING_ACCESSOR |
544 | 544 |
545 Handle<String> hidden_string() { | 545 Handle<String> hidden_string() { |
546 return Handle<String>(&isolate()->heap()->hidden_string_); | 546 return Handle<String>(&isolate()->heap()->hidden_string_); |
547 } | 547 } |
548 | 548 |
549 Handle<SharedFunctionInfo> NewSharedFunctionInfo( | 549 Handle<SharedFunctionInfo> NewSharedFunctionInfo( |
550 Handle<String> name, | 550 Handle<String> name, |
551 int number_of_literals, | 551 int number_of_literals, |
552 bool is_generator, | 552 bool is_generator, |
| 553 bool is_arrow, |
553 Handle<Code> code, | 554 Handle<Code> code, |
554 Handle<ScopeInfo> scope_info); | 555 Handle<ScopeInfo> scope_info); |
555 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name); | 556 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name); |
556 | 557 |
557 Handle<JSMessageObject> NewJSMessageObject( | 558 Handle<JSMessageObject> NewJSMessageObject( |
558 Handle<String> type, | 559 Handle<String> type, |
559 Handle<JSArray> arguments, | 560 Handle<JSArray> arguments, |
560 int start_position, | 561 int start_position, |
561 int end_position, | 562 int end_position, |
562 Handle<Object> script, | 563 Handle<Object> script, |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 isolate()); | 633 isolate()); |
633 } else { | 634 } else { |
634 return NewNumber(static_cast<double>(value), pretenure); | 635 return NewNumber(static_cast<double>(value), pretenure); |
635 } | 636 } |
636 } | 637 } |
637 | 638 |
638 | 639 |
639 } } // namespace v8::internal | 640 } } // namespace v8::internal |
640 | 641 |
641 #endif // V8_FACTORY_H_ | 642 #endif // V8_FACTORY_H_ |
OLD | NEW |