| 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 882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 893 Label* fail); | 893 Label* fail); |
| 894 | 894 |
| 895 void IsInstanceJSObjectType(Register map, | 895 void IsInstanceJSObjectType(Register map, |
| 896 Register scratch, | 896 Register scratch, |
| 897 Label* fail); | 897 Label* fail); |
| 898 | 898 |
| 899 void IsObjectJSStringType(Register object, | 899 void IsObjectJSStringType(Register object, |
| 900 Register scratch, | 900 Register scratch, |
| 901 Label* fail); | 901 Label* fail); |
| 902 | 902 |
| 903 void IsObjectNameType(Register object, |
| 904 Register scratch, |
| 905 Label* fail); |
| 906 |
| 903 #ifdef ENABLE_DEBUGGER_SUPPORT | 907 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 904 // ------------------------------------------------------------------------- | 908 // ------------------------------------------------------------------------- |
| 905 // Debugger Support. | 909 // Debugger Support. |
| 906 | 910 |
| 907 void DebugBreak(); | 911 void DebugBreak(); |
| 908 #endif | 912 #endif |
| 909 | 913 |
| 910 | 914 |
| 911 // ------------------------------------------------------------------------- | 915 // ------------------------------------------------------------------------- |
| 912 // Exception handling. | 916 // Exception handling. |
| (...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1350 // Jump if either of the registers contain a smi. | 1354 // Jump if either of the registers contain a smi. |
| 1351 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi); | 1355 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi); |
| 1352 | 1356 |
| 1353 // Abort execution if argument is a smi, enabled via --debug-code. | 1357 // Abort execution if argument is a smi, enabled via --debug-code. |
| 1354 void AssertNotSmi(Register object); | 1358 void AssertNotSmi(Register object); |
| 1355 void AssertSmi(Register object); | 1359 void AssertSmi(Register object); |
| 1356 | 1360 |
| 1357 // Abort execution if argument is not a string, enabled via --debug-code. | 1361 // Abort execution if argument is not a string, enabled via --debug-code. |
| 1358 void AssertString(Register object); | 1362 void AssertString(Register object); |
| 1359 | 1363 |
| 1364 // Abort execution if argument is not a name, enabled via --debug-code. |
| 1365 void AssertName(Register object); |
| 1366 |
| 1360 // Abort execution if argument is not the root value with the given index, | 1367 // Abort execution if argument is not the root value with the given index, |
| 1361 // enabled via --debug-code. | 1368 // enabled via --debug-code. |
| 1362 void AssertRootValue(Register src, | 1369 void AssertRootValue(Register src, |
| 1363 Heap::RootListIndex root_value_index, | 1370 Heap::RootListIndex root_value_index, |
| 1364 const char* message); | 1371 const char* message); |
| 1365 | 1372 |
| 1366 // --------------------------------------------------------------------------- | 1373 // --------------------------------------------------------------------------- |
| 1367 // HeapNumber utilities. | 1374 // HeapNumber utilities. |
| 1368 | 1375 |
| 1369 void JumpIfNotHeapNumber(Register object, | 1376 void JumpIfNotHeapNumber(Register object, |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1569 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1576 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 1570 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1577 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1571 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1578 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1572 #else | 1579 #else |
| 1573 #define ACCESS_MASM(masm) masm-> | 1580 #define ACCESS_MASM(masm) masm-> |
| 1574 #endif | 1581 #endif |
| 1575 | 1582 |
| 1576 } } // namespace v8::internal | 1583 } } // namespace v8::internal |
| 1577 | 1584 |
| 1578 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1585 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |