OLD | NEW |
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 void JumpToExternalReference(const ExternalReference& builtin); | 569 void JumpToExternalReference(const ExternalReference& builtin); |
570 | 570 |
571 // Invoke specified builtin JavaScript function. Adds an entry to | 571 // Invoke specified builtin JavaScript function. Adds an entry to |
572 // the unresolved list if the name does not resolve. | 572 // the unresolved list if the name does not resolve. |
573 void InvokeBuiltin(Builtins::JavaScript id, InvokeJSFlags flags); | 573 void InvokeBuiltin(Builtins::JavaScript id, InvokeJSFlags flags); |
574 | 574 |
575 // Store the code object for the given builtin in the target register and | 575 // Store the code object for the given builtin in the target register and |
576 // setup the function in r1. | 576 // setup the function in r1. |
577 void GetBuiltinEntry(Register target, Builtins::JavaScript id); | 577 void GetBuiltinEntry(Register target, Builtins::JavaScript id); |
578 | 578 |
| 579 // Store the function for the given builtin in the target register. |
| 580 void GetBuiltinFunction(Register target, Builtins::JavaScript id); |
| 581 |
579 Handle<Object> CodeObject() { return code_object_; } | 582 Handle<Object> CodeObject() { return code_object_; } |
580 | 583 |
581 | 584 |
582 // --------------------------------------------------------------------------- | 585 // --------------------------------------------------------------------------- |
583 // StatsCounter support | 586 // StatsCounter support |
584 | 587 |
585 void SetCounter(StatsCounter* counter, int value, | 588 void SetCounter(StatsCounter* counter, int value, |
586 Register scratch1, Register scratch2); | 589 Register scratch1, Register scratch2); |
587 void IncrementCounter(StatsCounter* counter, int value, | 590 void IncrementCounter(StatsCounter* counter, int value, |
588 Register scratch1, Register scratch2); | 591 Register scratch1, Register scratch2); |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 727 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
725 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 728 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
726 #else | 729 #else |
727 #define ACCESS_MASM(masm) masm-> | 730 #define ACCESS_MASM(masm) masm-> |
728 #endif | 731 #endif |
729 | 732 |
730 | 733 |
731 } } // namespace v8::internal | 734 } } // namespace v8::internal |
732 | 735 |
733 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 736 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |