| 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 "assembler.h" | 8 #include "assembler.h" |
| 9 #include "frames.h" | 9 #include "frames.h" |
| 10 #include "v8globals.h" | 10 #include "v8globals.h" |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 // won't be converted. | 512 // won't be converted. |
| 513 void LoadNumberAsInt32(Register object, | 513 void LoadNumberAsInt32(Register object, |
| 514 Register dst, | 514 Register dst, |
| 515 Register heap_number_map, | 515 Register heap_number_map, |
| 516 Register scratch, | 516 Register scratch, |
| 517 DwVfpRegister double_scratch0, | 517 DwVfpRegister double_scratch0, |
| 518 LowDwVfpRegister double_scratch1, | 518 LowDwVfpRegister double_scratch1, |
| 519 Label* not_int32); | 519 Label* not_int32); |
| 520 | 520 |
| 521 // Generates function and stub prologue code. | 521 // Generates function and stub prologue code. |
| 522 void Prologue(PrologueFrameMode frame_mode); | 522 void Prologue(CompilationInfo* info); |
| 523 | 523 |
| 524 // Enter exit frame. | 524 // Enter exit frame. |
| 525 // stack_space - extra stack space, used for alignment before call to C. | 525 // stack_space - extra stack space, used for alignment before call to C. |
| 526 void EnterExitFrame(bool save_doubles, int stack_space = 0); | 526 void EnterExitFrame(bool save_doubles, int stack_space = 0); |
| 527 | 527 |
| 528 // Leave the current exit frame. Expects the return value in r0. | 528 // Leave the current exit frame. Expects the return value in r0. |
| 529 // Expect the number of values, pushed prior to the exit frame, to | 529 // Expect the number of values, pushed prior to the exit frame, to |
| 530 // remove in a register (or no_reg, if there is nothing to remove). | 530 // remove in a register (or no_reg, if there is nothing to remove). |
| 531 void LeaveExitFrame(bool save_doubles, | 531 void LeaveExitFrame(bool save_doubles, |
| 532 Register argument_count, | 532 Register argument_count, |
| (...skipping 1043 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1576 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1576 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1577 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1577 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1578 #else | 1578 #else |
| 1579 #define ACCESS_MASM(masm) masm-> | 1579 #define ACCESS_MASM(masm) masm-> |
| 1580 #endif | 1580 #endif |
| 1581 | 1581 |
| 1582 | 1582 |
| 1583 } } // namespace v8::internal | 1583 } } // namespace v8::internal |
| 1584 | 1584 |
| 1585 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1585 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |