| OLD | NEW |
| 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 | 408 |
| 409 // --------------------------------------------------------------------------- | 409 // --------------------------------------------------------------------------- |
| 410 // String utilities | 410 // String utilities |
| 411 | 411 |
| 412 // Checks if both objects are sequential ASCII strings and jumps to label | 412 // Checks if both objects are sequential ASCII strings and jumps to label |
| 413 // if either is not. Assumes that neither object is a smi. | 413 // if either is not. Assumes that neither object is a smi. |
| 414 void JumpIfNonSmisNotBothSequentialAsciiStrings(Register object1, | 414 void JumpIfNonSmisNotBothSequentialAsciiStrings(Register object1, |
| 415 Register object2, | 415 Register object2, |
| 416 Register scratch1, | 416 Register scratch1, |
| 417 Register scratch2, | 417 Register scratch2, |
| 418 Label *failure); | 418 Label* failure); |
| 419 | 419 |
| 420 // Checks if both objects are sequential ASCII strings and jumps to label | 420 // Checks if both objects are sequential ASCII strings and jumps to label |
| 421 // if either is not. | 421 // if either is not. |
| 422 void JumpIfNotBothSequentialAsciiStrings(Register first, | 422 void JumpIfNotBothSequentialAsciiStrings(Register first, |
| 423 Register second, | 423 Register second, |
| 424 Register scratch1, | 424 Register scratch1, |
| 425 Register scratch2, | 425 Register scratch2, |
| 426 Label* not_flat_ascii_strings); | 426 Label* not_flat_ascii_strings); |
| 427 | 427 |
| 428 // Checks if both instance types are sequential ASCII strings and jumps to | 428 // Checks if both instance types are sequential ASCII strings and jumps to |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 502 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 503 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 503 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 504 #else | 504 #else |
| 505 #define ACCESS_MASM(masm) masm-> | 505 #define ACCESS_MASM(masm) masm-> |
| 506 #endif | 506 #endif |
| 507 | 507 |
| 508 | 508 |
| 509 } } // namespace v8::internal | 509 } } // namespace v8::internal |
| 510 | 510 |
| 511 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 511 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |