| 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 | 233 |
| 234 inline void BranchOnNotSmi(Register value, Label* not_smi_label) { | 234 inline void BranchOnNotSmi(Register value, Label* not_smi_label) { |
| 235 tst(value, Operand(kSmiTagMask)); | 235 tst(value, Operand(kSmiTagMask)); |
| 236 b(ne, not_smi_label); | 236 b(ne, not_smi_label); |
| 237 } | 237 } |
| 238 | 238 |
| 239 // Generates code for reporting that an illegal operation has | 239 // Generates code for reporting that an illegal operation has |
| 240 // occurred. | 240 // occurred. |
| 241 void IllegalOperation(int num_arguments); | 241 void IllegalOperation(int num_arguments); |
| 242 | 242 |
| 243 // Uses VFP instructions to Convert a Smi to a double. |
| 244 void IntegerToDoubleConversionWithVFP3(Register inReg, |
| 245 Register outHighReg, |
| 246 Register outLowReg); |
| 247 |
| 243 | 248 |
| 244 // --------------------------------------------------------------------------- | 249 // --------------------------------------------------------------------------- |
| 245 // Runtime calls | 250 // Runtime calls |
| 246 | 251 |
| 247 // Call a code stub. | 252 // Call a code stub. |
| 248 void CallStub(CodeStub* stub, Condition cond = al); | 253 void CallStub(CodeStub* stub, Condition cond = al); |
| 249 | 254 |
| 250 // Return from a code stub after popping its arguments. | 255 // Return from a code stub after popping its arguments. |
| 251 void StubReturn(int argc); | 256 void StubReturn(int argc); |
| 252 | 257 |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 397 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 393 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 398 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 394 #else | 399 #else |
| 395 #define ACCESS_MASM(masm) masm-> | 400 #define ACCESS_MASM(masm) masm-> |
| 396 #endif | 401 #endif |
| 397 | 402 |
| 398 | 403 |
| 399 } } // namespace v8::internal | 404 } } // namespace v8::internal |
| 400 | 405 |
| 401 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 406 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |