| 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 1414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1425 // Abort execution if argument is a smi, enabled via --debug-code. | 1425 // Abort execution if argument is a smi, enabled via --debug-code. |
| 1426 void AssertNotSmi(Register object); | 1426 void AssertNotSmi(Register object); |
| 1427 void AssertSmi(Register object); | 1427 void AssertSmi(Register object); |
| 1428 | 1428 |
| 1429 // Abort execution if argument is not a string, enabled via --debug-code. | 1429 // Abort execution if argument is not a string, enabled via --debug-code. |
| 1430 void AssertString(Register object); | 1430 void AssertString(Register object); |
| 1431 | 1431 |
| 1432 // Abort execution if argument is not a name, enabled via --debug-code. | 1432 // Abort execution if argument is not a name, enabled via --debug-code. |
| 1433 void AssertName(Register object); | 1433 void AssertName(Register object); |
| 1434 | 1434 |
| 1435 // Abort execution if argument is not undefined or an AllocationSite, enabled |
| 1436 // via --debug-code. |
| 1437 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
| 1438 |
| 1435 // Abort execution if reg is not the root value with the given index, | 1439 // Abort execution if reg is not the root value with the given index, |
| 1436 // enabled via --debug-code. | 1440 // enabled via --debug-code. |
| 1437 void AssertIsRoot(Register reg, Heap::RootListIndex index); | 1441 void AssertIsRoot(Register reg, Heap::RootListIndex index); |
| 1438 | 1442 |
| 1439 // --------------------------------------------------------------------------- | 1443 // --------------------------------------------------------------------------- |
| 1440 // HeapNumber utilities. | 1444 // HeapNumber utilities. |
| 1441 | 1445 |
| 1442 void JumpIfNotHeapNumber(Register object, | 1446 void JumpIfNotHeapNumber(Register object, |
| 1443 Register heap_number_map, | 1447 Register heap_number_map, |
| 1444 Register scratch, | 1448 Register scratch, |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1669 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1673 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 1670 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1674 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1671 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1675 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1672 #else | 1676 #else |
| 1673 #define ACCESS_MASM(masm) masm-> | 1677 #define ACCESS_MASM(masm) masm-> |
| 1674 #endif | 1678 #endif |
| 1675 | 1679 |
| 1676 } } // namespace v8::internal | 1680 } } // namespace v8::internal |
| 1677 | 1681 |
| 1678 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1682 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |