| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 Register dst2, | 236 Register dst2, |
| 237 const MemOperand& src, | 237 const MemOperand& src, |
| 238 Condition cond = al); | 238 Condition cond = al); |
| 239 | 239 |
| 240 // Store two consecutive registers to two consecutive memory locations. | 240 // Store two consecutive registers to two consecutive memory locations. |
| 241 void Strd(Register src1, | 241 void Strd(Register src1, |
| 242 Register src2, | 242 Register src2, |
| 243 const MemOperand& dst, | 243 const MemOperand& dst, |
| 244 Condition cond = al); | 244 Condition cond = al); |
| 245 | 245 |
| 246 // Clear FPSCR bits. |
| 247 void ClearFPSCRBits(uint32_t bits_to_clear, Register scratch); |
| 248 |
| 246 // --------------------------------------------------------------------------- | 249 // --------------------------------------------------------------------------- |
| 247 // Activation frames | 250 // Activation frames |
| 248 | 251 |
| 249 void EnterInternalFrame() { EnterFrame(StackFrame::INTERNAL); } | 252 void EnterInternalFrame() { EnterFrame(StackFrame::INTERNAL); } |
| 250 void LeaveInternalFrame() { LeaveFrame(StackFrame::INTERNAL); } | 253 void LeaveInternalFrame() { LeaveFrame(StackFrame::INTERNAL); } |
| 251 | 254 |
| 252 void EnterConstructFrame() { EnterFrame(StackFrame::CONSTRUCT); } | 255 void EnterConstructFrame() { EnterFrame(StackFrame::CONSTRUCT); } |
| 253 void LeaveConstructFrame() { LeaveFrame(StackFrame::CONSTRUCT); } | 256 void LeaveConstructFrame() { LeaveFrame(StackFrame::CONSTRUCT); } |
| 254 | 257 |
| 255 // Enter exit frame. | 258 // Enter exit frame. |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 : -1; | 375 : -1; |
| 373 ASSERT((type == -1) || | 376 ASSERT((type == -1) || |
| 374 ((FIRST_IC_MARKER <= type) && (type < LAST_CODE_MARKER))); | 377 ((FIRST_IC_MARKER <= type) && (type < LAST_CODE_MARKER))); |
| 375 return type; | 378 return type; |
| 376 } | 379 } |
| 377 | 380 |
| 378 | 381 |
| 379 // --------------------------------------------------------------------------- | 382 // --------------------------------------------------------------------------- |
| 380 // Allocation support | 383 // Allocation support |
| 381 | 384 |
| 382 // Allocate an object in new space. The object_size is specified in words (not | 385 // Allocate an object in new space. The object_size is specified |
| 383 // bytes). If the new space is exhausted control continues at the gc_required | 386 // either in bytes or in words if the allocation flag SIZE_IN_WORDS |
| 384 // label. The allocated object is returned in result. If the flag | 387 // is passed. If the new space is exhausted control continues at the |
| 385 // tag_allocated_object is true the result is tagged as as a heap object. All | 388 // gc_required label. The allocated object is returned in result. If |
| 386 // registers are clobbered also when control continues at the gc_required | 389 // the flag tag_allocated_object is true the result is tagged as as |
| 387 // label. | 390 // a heap object. All registers are clobbered also when control |
| 391 // continues at the gc_required label. |
| 388 void AllocateInNewSpace(int object_size, | 392 void AllocateInNewSpace(int object_size, |
| 389 Register result, | 393 Register result, |
| 390 Register scratch1, | 394 Register scratch1, |
| 391 Register scratch2, | 395 Register scratch2, |
| 392 Label* gc_required, | 396 Label* gc_required, |
| 393 AllocationFlags flags); | 397 AllocationFlags flags); |
| 394 void AllocateInNewSpace(Register object_size, | 398 void AllocateInNewSpace(Register object_size, |
| 395 Register result, | 399 Register result, |
| 396 Register scratch1, | 400 Register scratch1, |
| 397 Register scratch2, | 401 Register scratch2, |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 819 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 823 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 820 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 824 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 821 #else | 825 #else |
| 822 #define ACCESS_MASM(masm) masm-> | 826 #define ACCESS_MASM(masm) masm-> |
| 823 #endif | 827 #endif |
| 824 | 828 |
| 825 | 829 |
| 826 } } // namespace v8::internal | 830 } } // namespace v8::internal |
| 827 | 831 |
| 828 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 832 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |