| 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 1391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1402 } else { | 1402 } else { |
| 1403 and_(dst, src, Operand(mask)); | 1403 and_(dst, src, Operand(mask)); |
| 1404 } | 1404 } |
| 1405 } | 1405 } |
| 1406 | 1406 |
| 1407 template<typename Field> | 1407 template<typename Field> |
| 1408 void DecodeFieldToSmi(Register reg) { | 1408 void DecodeFieldToSmi(Register reg) { |
| 1409 DecodeField<Field>(reg, reg); | 1409 DecodeField<Field>(reg, reg); |
| 1410 } | 1410 } |
| 1411 | 1411 |
| 1412 // Load the type feedback vector from a JavaScript frame. |
| 1413 void EmitLoadTypeFeedbackVector(Register vector); |
| 1414 |
| 1412 // Activation support. | 1415 // Activation support. |
| 1413 void EnterFrame(StackFrame::Type type, | 1416 void EnterFrame(StackFrame::Type type, |
| 1414 bool load_constant_pool_pointer_reg = false); | 1417 bool load_constant_pool_pointer_reg = false); |
| 1415 // Returns the pc offset at which the frame ends. | 1418 // Returns the pc offset at which the frame ends. |
| 1416 int LeaveFrame(StackFrame::Type type); | 1419 int LeaveFrame(StackFrame::Type type); |
| 1417 | 1420 |
| 1418 // Expects object in r0 and returns map with validated enum cache | 1421 // Expects object in r0 and returns map with validated enum cache |
| 1419 // in r0. Assumes that any other register can be used as a scratch. | 1422 // in r0. Assumes that any other register can be used as a scratch. |
| 1420 void CheckEnumCache(Register null_value, Label* call_runtime); | 1423 void CheckEnumCache(Register null_value, Label* call_runtime); |
| 1421 | 1424 |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1557 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1560 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1558 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1561 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1559 #else | 1562 #else |
| 1560 #define ACCESS_MASM(masm) masm-> | 1563 #define ACCESS_MASM(masm) masm-> |
| 1561 #endif | 1564 #endif |
| 1562 | 1565 |
| 1563 | 1566 |
| 1564 } } // namespace v8::internal | 1567 } } // namespace v8::internal |
| 1565 | 1568 |
| 1566 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1569 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |