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 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 Handle<Code> code, | 521 Handle<Code> code, |
522 Handle<ScopeInfo> scope_info); | 522 Handle<ScopeInfo> scope_info); |
523 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name); | 523 Handle<SharedFunctionInfo> NewSharedFunctionInfo(Handle<String> name); |
524 | 524 |
525 Handle<JSMessageObject> NewJSMessageObject( | 525 Handle<JSMessageObject> NewJSMessageObject( |
526 Handle<String> type, | 526 Handle<String> type, |
527 Handle<JSArray> arguments, | 527 Handle<JSArray> arguments, |
528 int start_position, | 528 int start_position, |
529 int end_position, | 529 int end_position, |
530 Handle<Object> script, | 530 Handle<Object> script, |
531 Handle<Object> stack_trace, | |
532 Handle<Object> stack_frames); | 531 Handle<Object> stack_frames); |
533 | 532 |
534 Handle<SeededNumberDictionary> DictionaryAtNumberPut( | 533 Handle<SeededNumberDictionary> DictionaryAtNumberPut( |
535 Handle<SeededNumberDictionary>, | 534 Handle<SeededNumberDictionary>, |
536 uint32_t key, | 535 uint32_t key, |
537 Handle<Object> value); | 536 Handle<Object> value); |
538 | 537 |
539 Handle<UnseededNumberDictionary> DictionaryAtNumberPut( | 538 Handle<UnseededNumberDictionary> DictionaryAtNumberPut( |
540 Handle<UnseededNumberDictionary>, | 539 Handle<UnseededNumberDictionary>, |
541 uint32_t key, | 540 uint32_t key, |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 isolate()); | 600 isolate()); |
602 } else { | 601 } else { |
603 return NewNumber(static_cast<double>(value), pretenure); | 602 return NewNumber(static_cast<double>(value), pretenure); |
604 } | 603 } |
605 } | 604 } |
606 | 605 |
607 | 606 |
608 } } // namespace v8::internal | 607 } } // namespace v8::internal |
609 | 608 |
610 #endif // V8_FACTORY_H_ | 609 #endif // V8_FACTORY_H_ |
OLD | NEW |