| 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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 // --------------------------------------------------------------------------- | 594 // --------------------------------------------------------------------------- |
| 595 // JavaScript invokes | 595 // JavaScript invokes |
| 596 | 596 |
| 597 // Invoke the JavaScript function code by either calling or jumping. | 597 // Invoke the JavaScript function code by either calling or jumping. |
| 598 void InvokeCode(Register code, | 598 void InvokeCode(Register code, |
| 599 const ParameterCount& expected, | 599 const ParameterCount& expected, |
| 600 const ParameterCount& actual, | 600 const ParameterCount& actual, |
| 601 InvokeFlag flag, | 601 InvokeFlag flag, |
| 602 const CallWrapper& call_wrapper); | 602 const CallWrapper& call_wrapper); |
| 603 | 603 |
| 604 void InvokeCode(Handle<Code> code, | |
| 605 const ParameterCount& expected, | |
| 606 const ParameterCount& actual, | |
| 607 RelocInfo::Mode rmode, | |
| 608 InvokeFlag flag); | |
| 609 | |
| 610 // Invoke the JavaScript function in the given register. Changes the | 604 // Invoke the JavaScript function in the given register. Changes the |
| 611 // current context to the context in the function before invoking. | 605 // current context to the context in the function before invoking. |
| 612 void InvokeFunction(Register function, | 606 void InvokeFunction(Register function, |
| 613 const ParameterCount& actual, | 607 const ParameterCount& actual, |
| 614 InvokeFlag flag, | 608 InvokeFlag flag, |
| 615 const CallWrapper& call_wrapper); | 609 const CallWrapper& call_wrapper); |
| 616 | 610 |
| 617 void InvokeFunction(Register function, | 611 void InvokeFunction(Register function, |
| 618 const ParameterCount& expected, | 612 const ParameterCount& expected, |
| 619 const ParameterCount& actual, | 613 const ParameterCount& actual, |
| (...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1543 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1537 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1544 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1538 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1545 #else | 1539 #else |
| 1546 #define ACCESS_MASM(masm) masm-> | 1540 #define ACCESS_MASM(masm) masm-> |
| 1547 #endif | 1541 #endif |
| 1548 | 1542 |
| 1549 | 1543 |
| 1550 } } // namespace v8::internal | 1544 } } // namespace v8::internal |
| 1551 | 1545 |
| 1552 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1546 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |