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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 | 510 |
511 Handle<String> hidden_string() { | 511 Handle<String> hidden_string() { |
512 return Handle<String>(&isolate()->heap()->hidden_string_); | 512 return Handle<String>(&isolate()->heap()->hidden_string_); |
513 } | 513 } |
514 | 514 |
515 Handle<SharedFunctionInfo> NewSharedFunctionInfo( | 515 Handle<SharedFunctionInfo> NewSharedFunctionInfo( |
516 Handle<String> name, | 516 Handle<String> name, |
517 int number_of_literals, | 517 int number_of_literals, |
518 bool is_generator, | 518 bool is_generator, |
519 Handle<Code> code, | 519 Handle<Code> code, |
520 Handle<ScopeInfo> scope_info); | 520 Handle<ScopeInfo> scope_info, |
| 521 Handle<FixedArray> feedback_vector); |
521 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name); | 522 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name); |
522 | 523 |
523 Handle<JSMessageObject> NewJSMessageObject( | 524 Handle<JSMessageObject> NewJSMessageObject( |
524 Handle<String> type, | 525 Handle<String> type, |
525 Handle<JSArray> arguments, | 526 Handle<JSArray> arguments, |
526 int start_position, | 527 int start_position, |
527 int end_position, | 528 int end_position, |
528 Handle<Object> script, | 529 Handle<Object> script, |
529 Handle<Object> stack_frames); | 530 Handle<Object> stack_frames); |
530 | 531 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 isolate()); | 599 isolate()); |
599 } else { | 600 } else { |
600 return NewNumber(static_cast<double>(value), pretenure); | 601 return NewNumber(static_cast<double>(value), pretenure); |
601 } | 602 } |
602 } | 603 } |
603 | 604 |
604 | 605 |
605 } } // namespace v8::internal | 606 } } // namespace v8::internal |
606 | 607 |
607 #endif // V8_FACTORY_H_ | 608 #endif // V8_FACTORY_H_ |
OLD | NEW |