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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 109 |
110 // Enter specific kind of exit frame; either normal or debug mode. | 110 // Enter specific kind of exit frame; either normal or debug mode. |
111 // Expects the number of arguments in register r0 and | 111 // Expects the number of arguments in register r0 and |
112 // the builtin function to call in register r1. Exits with argc in | 112 // the builtin function to call in register r1. Exits with argc in |
113 // r4, argv in r6, and and the builtin function to call in r5. | 113 // r4, argv in r6, and and the builtin function to call in r5. |
114 void EnterExitFrame(ExitFrame::Mode mode); | 114 void EnterExitFrame(ExitFrame::Mode mode); |
115 | 115 |
116 // Leave the current exit frame. Expects the return value in r0. | 116 // Leave the current exit frame. Expects the return value in r0. |
117 void LeaveExitFrame(ExitFrame::Mode mode); | 117 void LeaveExitFrame(ExitFrame::Mode mode); |
118 | 118 |
119 // Align the stack by optionally pushing a Smi zero. | 119 // Get the actual activation frame alignment for target environment. |
120 void AlignStack(int offset); | 120 static int ActivationFrameAlignment(); |
121 | 121 |
122 void LoadContext(Register dst, int context_chain_length); | 122 void LoadContext(Register dst, int context_chain_length); |
123 | 123 |
124 // --------------------------------------------------------------------------- | 124 // --------------------------------------------------------------------------- |
125 // JavaScript invokes | 125 // JavaScript invokes |
126 | 126 |
127 // Invoke the JavaScript function code by either calling or jumping. | 127 // Invoke the JavaScript function code by either calling or jumping. |
128 void InvokeCode(Register code, | 128 void InvokeCode(Register code, |
129 const ParameterCount& expected, | 129 const ParameterCount& expected, |
130 const ParameterCount& actual, | 130 const ParameterCount& actual, |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 539 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
540 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 540 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
541 #else | 541 #else |
542 #define ACCESS_MASM(masm) masm-> | 542 #define ACCESS_MASM(masm) masm-> |
543 #endif | 543 #endif |
544 | 544 |
545 | 545 |
546 } } // namespace v8::internal | 546 } } // namespace v8::internal |
547 | 547 |
548 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 548 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |