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 1420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1431 | 1431 |
1432 // Load the type feedback vector from a JavaScript frame. | 1432 // Load the type feedback vector from a JavaScript frame. |
1433 void EmitLoadTypeFeedbackVector(Register vector); | 1433 void EmitLoadTypeFeedbackVector(Register vector); |
1434 | 1434 |
1435 // Activation support. | 1435 // Activation support. |
1436 void EnterFrame(StackFrame::Type type, | 1436 void EnterFrame(StackFrame::Type type, |
1437 bool load_constant_pool_pointer_reg = false); | 1437 bool load_constant_pool_pointer_reg = false); |
1438 // Returns the pc offset at which the frame ends. | 1438 // Returns the pc offset at which the frame ends. |
1439 int LeaveFrame(StackFrame::Type type); | 1439 int LeaveFrame(StackFrame::Type type); |
1440 | 1440 |
| 1441 void EnterBuiltinFrame(Register context, Register target, Register argc); |
| 1442 void LeaveBuiltinFrame(Register context, Register target, Register argc); |
| 1443 |
1441 // Expects object in r0 and returns map with validated enum cache | 1444 // Expects object in r0 and returns map with validated enum cache |
1442 // in r0. Assumes that any other register can be used as a scratch. | 1445 // in r0. Assumes that any other register can be used as a scratch. |
1443 void CheckEnumCache(Label* call_runtime); | 1446 void CheckEnumCache(Label* call_runtime); |
1444 | 1447 |
1445 // AllocationMemento support. Arrays may have an associated | 1448 // AllocationMemento support. Arrays may have an associated |
1446 // AllocationMemento object that can be checked for in order to pretransition | 1449 // AllocationMemento object that can be checked for in order to pretransition |
1447 // to another type. | 1450 // to another type. |
1448 // On entry, receiver_reg should point to the array object. | 1451 // On entry, receiver_reg should point to the array object. |
1449 // scratch_reg gets clobbered. | 1452 // scratch_reg gets clobbered. |
1450 // If allocation info is present, condition flags are set to eq. | 1453 // If allocation info is present, condition flags are set to eq. |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1578 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1581 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1579 #else | 1582 #else |
1580 #define ACCESS_MASM(masm) masm-> | 1583 #define ACCESS_MASM(masm) masm-> |
1581 #endif | 1584 #endif |
1582 | 1585 |
1583 | 1586 |
1584 } // namespace internal | 1587 } // namespace internal |
1585 } // namespace v8 | 1588 } // namespace v8 |
1586 | 1589 |
1587 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1590 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |