| 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 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 576 Label* fail); | 576 Label* fail); |
| 577 | 577 |
| 578 void IsInstanceJSObjectType(Register map, | 578 void IsInstanceJSObjectType(Register map, |
| 579 Register scratch, | 579 Register scratch, |
| 580 Label* fail); | 580 Label* fail); |
| 581 | 581 |
| 582 void IsObjectJSStringType(Register object, | 582 void IsObjectJSStringType(Register object, |
| 583 Register scratch, | 583 Register scratch, |
| 584 Label* fail); | 584 Label* fail); |
| 585 | 585 |
| 586 void IsObjectNameType(Register object, |
| 587 Register scratch, |
| 588 Label* fail); |
| 589 |
| 586 #ifdef ENABLE_DEBUGGER_SUPPORT | 590 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 587 // --------------------------------------------------------------------------- | 591 // --------------------------------------------------------------------------- |
| 588 // Debugger Support | 592 // Debugger Support |
| 589 | 593 |
| 590 void DebugBreak(); | 594 void DebugBreak(); |
| 591 #endif | 595 #endif |
| 592 | 596 |
| 593 // --------------------------------------------------------------------------- | 597 // --------------------------------------------------------------------------- |
| 594 // Exception handling | 598 // Exception handling |
| 595 | 599 |
| (...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1219 } | 1223 } |
| 1220 // Jump if either of the registers contain a non-smi. | 1224 // Jump if either of the registers contain a non-smi. |
| 1221 void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi); | 1225 void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi); |
| 1222 // Jump if either of the registers contain a smi. | 1226 // Jump if either of the registers contain a smi. |
| 1223 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi); | 1227 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi); |
| 1224 | 1228 |
| 1225 // Abort execution if argument is a smi, enabled via --debug-code. | 1229 // Abort execution if argument is a smi, enabled via --debug-code. |
| 1226 void AssertNotSmi(Register object); | 1230 void AssertNotSmi(Register object); |
| 1227 void AssertSmi(Register object); | 1231 void AssertSmi(Register object); |
| 1228 | 1232 |
| 1229 // Abort execution if argument is a string, enabled via --debug-code. | 1233 // Abort execution if argument is not a string, enabled via --debug-code. |
| 1230 void AssertString(Register object); | 1234 void AssertString(Register object); |
| 1231 | 1235 |
| 1236 // Abort execution if argument is not a name, enabled via --debug-code. |
| 1237 void AssertName(Register object); |
| 1238 |
| 1232 // Abort execution if argument is not the root value with the given index, | 1239 // Abort execution if argument is not the root value with the given index, |
| 1233 // enabled via --debug-code. | 1240 // enabled via --debug-code. |
| 1234 void AssertRootValue(Register src, | 1241 void AssertRootValue(Register src, |
| 1235 Heap::RootListIndex root_value_index, | 1242 Heap::RootListIndex root_value_index, |
| 1236 const char* message); | 1243 const char* message); |
| 1237 | 1244 |
| 1238 // --------------------------------------------------------------------------- | 1245 // --------------------------------------------------------------------------- |
| 1239 // HeapNumber utilities | 1246 // HeapNumber utilities |
| 1240 | 1247 |
| 1241 void JumpIfNotHeapNumber(Register object, | 1248 void JumpIfNotHeapNumber(Register object, |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1430 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1437 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1431 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1438 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1432 #else | 1439 #else |
| 1433 #define ACCESS_MASM(masm) masm-> | 1440 #define ACCESS_MASM(masm) masm-> |
| 1434 #endif | 1441 #endif |
| 1435 | 1442 |
| 1436 | 1443 |
| 1437 } } // namespace v8::internal | 1444 } } // namespace v8::internal |
| 1438 | 1445 |
| 1439 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1446 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |