OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
792 | 792 |
793 void InitializeRootRegister() { | 793 void InitializeRootRegister() { |
794 ExternalReference roots_array_start = | 794 ExternalReference roots_array_start = |
795 ExternalReference::roots_array_start(isolate()); | 795 ExternalReference::roots_array_start(isolate()); |
796 li(kRootRegister, Operand(roots_array_start)); | 796 li(kRootRegister, Operand(roots_array_start)); |
797 } | 797 } |
798 | 798 |
799 // ------------------------------------------------------------------------- | 799 // ------------------------------------------------------------------------- |
800 // JavaScript invokes. | 800 // JavaScript invokes. |
801 | 801 |
802 // Setup call kind marking in t1. The method takes t1 as an | 802 // Set up call kind marking in t1. The method takes t1 as an |
803 // explicit first parameter to make the code more readable at the | 803 // explicit first parameter to make the code more readable at the |
804 // call sites. | 804 // call sites. |
805 void SetCallKind(Register dst, CallKind kind); | 805 void SetCallKind(Register dst, CallKind kind); |
806 | 806 |
807 // Invoke the JavaScript function code by either calling or jumping. | 807 // Invoke the JavaScript function code by either calling or jumping. |
808 void InvokeCode(Register code, | 808 void InvokeCode(Register code, |
809 const ParameterCount& expected, | 809 const ParameterCount& expected, |
810 const ParameterCount& actual, | 810 const ParameterCount& actual, |
811 InvokeFlag flag, | 811 InvokeFlag flag, |
812 const CallWrapper& call_wrapper, | 812 const CallWrapper& call_wrapper, |
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1454 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1454 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1455 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1455 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1456 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1456 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1457 #else | 1457 #else |
1458 #define ACCESS_MASM(masm) masm-> | 1458 #define ACCESS_MASM(masm) masm-> |
1459 #endif | 1459 #endif |
1460 | 1460 |
1461 } } // namespace v8::internal | 1461 } } // namespace v8::internal |
1462 | 1462 |
1463 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1463 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |