OLD | NEW |
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 89 |
90 // Enter specific kind of exit frame; either EXIT or | 90 // Enter specific kind of exit frame; either EXIT or |
91 // EXIT_DEBUG. Expects the number of arguments in register r0 and | 91 // EXIT_DEBUG. Expects the number of arguments in register r0 and |
92 // the builtin function to call in register r1. Exits with argc in | 92 // the builtin function to call in register r1. Exits with argc in |
93 // r4, argv in r6, and and the builtin function to call in r5. | 93 // r4, argv in r6, and and the builtin function to call in r5. |
94 void EnterExitFrame(StackFrame::Type type); | 94 void EnterExitFrame(StackFrame::Type type); |
95 | 95 |
96 // Leave the current exit frame. Expects the return value in r0. | 96 // Leave the current exit frame. Expects the return value in r0. |
97 void LeaveExitFrame(StackFrame::Type type); | 97 void LeaveExitFrame(StackFrame::Type type); |
98 | 98 |
| 99 // Align the stack by optionally pushing a Smi zero. |
| 100 void AlignStack(int offset); |
99 | 101 |
100 // --------------------------------------------------------------------------- | 102 // --------------------------------------------------------------------------- |
101 // JavaScript invokes | 103 // JavaScript invokes |
102 | 104 |
103 // Invoke the JavaScript function code by either calling or jumping. | 105 // Invoke the JavaScript function code by either calling or jumping. |
104 void InvokeCode(Register code, | 106 void InvokeCode(Register code, |
105 const ParameterCount& expected, | 107 const ParameterCount& expected, |
106 const ParameterCount& actual, | 108 const ParameterCount& actual, |
107 InvokeFlag flag); | 109 InvokeFlag flag); |
108 | 110 |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 393 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
392 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 394 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
393 #else | 395 #else |
394 #define ACCESS_MASM(masm) masm-> | 396 #define ACCESS_MASM(masm) masm-> |
395 #endif | 397 #endif |
396 | 398 |
397 | 399 |
398 } } // namespace v8::internal | 400 } } // namespace v8::internal |
399 | 401 |
400 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 402 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |