| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
| 10 #include "src/frames.h" | 10 #include "src/frames.h" |
| (...skipping 1413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1424 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); | 1424 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); |
| 1425 | 1425 |
| 1426 // Helper functions for generating invokes. | 1426 // Helper functions for generating invokes. |
| 1427 void InvokePrologue(const ParameterCount& expected, | 1427 void InvokePrologue(const ParameterCount& expected, |
| 1428 const ParameterCount& actual, | 1428 const ParameterCount& actual, |
| 1429 Label* done, | 1429 Label* done, |
| 1430 bool* definitely_mismatches, | 1430 bool* definitely_mismatches, |
| 1431 InvokeFlag flag, | 1431 InvokeFlag flag, |
| 1432 const CallWrapper& call_wrapper); | 1432 const CallWrapper& call_wrapper); |
| 1433 | 1433 |
| 1434 void InitializeNewString(Register string, | |
| 1435 Register length, | |
| 1436 Heap::RootListIndex map_index, | |
| 1437 Register scratch1, | |
| 1438 Register scratch2); | |
| 1439 | |
| 1440 // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace. | 1434 // Helper for implementing JumpIfNotInNewSpace and JumpIfInNewSpace. |
| 1441 void InNewSpace(Register object, | 1435 void InNewSpace(Register object, |
| 1442 Register scratch, | 1436 Register scratch, |
| 1443 Condition cond, // eq for new space, ne otherwise. | 1437 Condition cond, // eq for new space, ne otherwise. |
| 1444 Label* branch); | 1438 Label* branch); |
| 1445 | 1439 |
| 1446 // Helper for finding the mark bits for an address. Afterwards, the | 1440 // Helper for finding the mark bits for an address. Afterwards, the |
| 1447 // bitmap register points at the word with the mark bits and the mask | 1441 // bitmap register points at the word with the mark bits and the mask |
| 1448 // the position of the first bit. Leaves addr_reg unchanged. | 1442 // the position of the first bit. Leaves addr_reg unchanged. |
| 1449 inline void GetMarkBits(Register addr_reg, | 1443 inline void GetMarkBits(Register addr_reg, |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1524 inline MemOperand NativeContextMemOperand() { | 1518 inline MemOperand NativeContextMemOperand() { |
| 1525 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); | 1519 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); |
| 1526 } | 1520 } |
| 1527 | 1521 |
| 1528 #define ACCESS_MASM(masm) masm-> | 1522 #define ACCESS_MASM(masm) masm-> |
| 1529 | 1523 |
| 1530 } // namespace internal | 1524 } // namespace internal |
| 1531 } // namespace v8 | 1525 } // namespace v8 |
| 1532 | 1526 |
| 1533 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1527 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |