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 1430 matching lines...) Loading... |
1441 void CheckEnumCache(Register null_value, Label* call_runtime); | 1441 void CheckEnumCache(Register null_value, Label* call_runtime); |
1442 | 1442 |
1443 // AllocationSiteInfo support. Arrays may have an associated | 1443 // AllocationSiteInfo support. Arrays may have an associated |
1444 // AllocationSiteInfo object that can be checked for in order to pretransition | 1444 // AllocationSiteInfo object that can be checked for in order to pretransition |
1445 // to another type. | 1445 // to another type. |
1446 // On entry, receiver_reg should point to the array object. | 1446 // On entry, receiver_reg should point to the array object. |
1447 // scratch_reg gets clobbered. | 1447 // scratch_reg gets clobbered. |
1448 // If allocation info is present, jump to allocation_info_present | 1448 // If allocation info is present, jump to allocation_info_present |
1449 void TestJSArrayForAllocationSiteInfo(Register receiver_reg, | 1449 void TestJSArrayForAllocationSiteInfo(Register receiver_reg, |
1450 Register scratch_reg, | 1450 Register scratch_reg, |
| 1451 Condition cond, |
1451 Label* allocation_info_present); | 1452 Label* allocation_info_present); |
1452 | 1453 |
1453 private: | 1454 private: |
1454 void CallCFunctionHelper(Register function, | 1455 void CallCFunctionHelper(Register function, |
1455 int num_reg_arguments, | 1456 int num_reg_arguments, |
1456 int num_double_arguments); | 1457 int num_double_arguments); |
1457 | 1458 |
1458 void BranchShort(int16_t offset, BranchDelaySlot bdslot = PROTECT); | 1459 void BranchShort(int16_t offset, BranchDelaySlot bdslot = PROTECT); |
1459 void BranchShort(int16_t offset, Condition cond, Register rs, | 1460 void BranchShort(int16_t offset, Condition cond, Register rs, |
1460 const Operand& rt, | 1461 const Operand& rt, |
(...skipping 106 matching lines...) Loading... |
1567 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1568 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1568 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1569 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1569 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1570 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1570 #else | 1571 #else |
1571 #define ACCESS_MASM(masm) masm-> | 1572 #define ACCESS_MASM(masm) masm-> |
1572 #endif | 1573 #endif |
1573 | 1574 |
1574 } } // namespace v8::internal | 1575 } } // namespace v8::internal |
1575 | 1576 |
1576 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1577 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |