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 1304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1315 | 1315 |
1316 | 1316 |
1317 // Activation support. | 1317 // Activation support. |
1318 void EnterFrame(StackFrame::Type type); | 1318 void EnterFrame(StackFrame::Type type); |
1319 void LeaveFrame(StackFrame::Type type); | 1319 void LeaveFrame(StackFrame::Type type); |
1320 | 1320 |
1321 // Patch the relocated value (lui/ori pair). | 1321 // Patch the relocated value (lui/ori pair). |
1322 void PatchRelocatedValue(Register li_location, | 1322 void PatchRelocatedValue(Register li_location, |
1323 Register scratch, | 1323 Register scratch, |
1324 Register new_value); | 1324 Register new_value); |
| 1325 // Get the relocatad value (loaded data) from the lui/ori pair. |
| 1326 void GetRelocatedValue(Register li_location, |
| 1327 Register value, |
| 1328 Register scratch); |
1325 | 1329 |
1326 private: | 1330 private: |
1327 void CallCFunctionHelper(Register function, | 1331 void CallCFunctionHelper(Register function, |
1328 int num_reg_arguments, | 1332 int num_reg_arguments, |
1329 int num_double_arguments); | 1333 int num_double_arguments); |
1330 | 1334 |
1331 void BranchShort(int16_t offset, BranchDelaySlot bdslot = PROTECT); | 1335 void BranchShort(int16_t offset, BranchDelaySlot bdslot = PROTECT); |
1332 void BranchShort(int16_t offset, Condition cond, Register rs, | 1336 void BranchShort(int16_t offset, Condition cond, Register rs, |
1333 const Operand& rt, | 1337 const Operand& rt, |
1334 BranchDelaySlot bdslot = PROTECT); | 1338 BranchDelaySlot bdslot = PROTECT); |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1439 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1443 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1440 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1444 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1441 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1445 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1442 #else | 1446 #else |
1443 #define ACCESS_MASM(masm) masm-> | 1447 #define ACCESS_MASM(masm) masm-> |
1444 #endif | 1448 #endif |
1445 | 1449 |
1446 } } // namespace v8::internal | 1450 } } // namespace v8::internal |
1447 | 1451 |
1448 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1452 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |