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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 Register object, | 301 Register object, |
302 Register address, | 302 Register address, |
303 Register value, | 303 Register value, |
304 LinkRegisterStatus lr_status, | 304 LinkRegisterStatus lr_status, |
305 SaveFPRegsMode save_fp, | 305 SaveFPRegsMode save_fp, |
306 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, | 306 RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, |
307 SmiCheck smi_check = INLINE_SMI_CHECK); | 307 SmiCheck smi_check = INLINE_SMI_CHECK); |
308 | 308 |
309 // Push a handle. | 309 // Push a handle. |
310 void Push(Handle<Object> handle); | 310 void Push(Handle<Object> handle); |
311 void Push(Smi* smi) { Push(Handle<Smi>(smi)); } | 311 void Push(Smi* smi) { Push(Handle<Smi>(smi, isolate())); } |
312 | 312 |
313 // Push two registers. Pushes leftmost register first (to highest address). | 313 // Push two registers. Pushes leftmost register first (to highest address). |
314 void Push(Register src1, Register src2, Condition cond = al) { | 314 void Push(Register src1, Register src2, Condition cond = al) { |
315 ASSERT(!src1.is(src2)); | 315 ASSERT(!src1.is(src2)); |
316 if (src1.code() > src2.code()) { | 316 if (src1.code() > src2.code()) { |
317 stm(db_w, sp, src1.bit() | src2.bit(), cond); | 317 stm(db_w, sp, src1.bit() | src2.bit(), cond); |
318 } else { | 318 } else { |
319 str(src1, MemOperand(sp, 4, NegPreIndex), cond); | 319 str(src1, MemOperand(sp, 4, NegPreIndex), cond); |
320 str(src2, MemOperand(sp, 4, NegPreIndex), cond); | 320 str(src2, MemOperand(sp, 4, NegPreIndex), cond); |
321 } | 321 } |
(...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1425 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1425 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1426 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1426 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1427 #else | 1427 #else |
1428 #define ACCESS_MASM(masm) masm-> | 1428 #define ACCESS_MASM(masm) masm-> |
1429 #endif | 1429 #endif |
1430 | 1430 |
1431 | 1431 |
1432 } } // namespace v8::internal | 1432 } } // namespace v8::internal |
1433 | 1433 |
1434 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1434 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |