OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 void EnterInternalFrame(); | 101 void EnterInternalFrame(); |
102 void LeaveInternalFrame(); | 102 void LeaveInternalFrame(); |
103 | 103 |
104 // Enter specific kind of exit frame; either EXIT or | 104 // Enter specific kind of exit frame; either EXIT or |
105 // EXIT_DEBUG. Expects the number of arguments in register r0 and | 105 // EXIT_DEBUG. Expects the number of arguments in register r0 and |
106 // the builtin function to call in register r1. Exits with argc in | 106 // the builtin function to call in register r1. Exits with argc in |
107 // r4, argv in r6, and and the builtin function to call in r5. | 107 // r4, argv in r6, and and the builtin function to call in r5. |
108 void EnterExitFrame(StackFrame::Type type); | 108 void EnterExitFrame(StackFrame::Type type); |
109 | 109 |
110 // Leave the current exit frame. Expects the return value in r0. | 110 // Leave the current exit frame. Expects the return value in r0. |
111 void LeaveExitFrame(); | 111 void LeaveExitFrame(StackFrame::Type type); |
112 | 112 |
113 | 113 |
114 // --------------------------------------------------------------------------- | 114 // --------------------------------------------------------------------------- |
115 // JavaScript invokes | 115 // JavaScript invokes |
116 | 116 |
117 // Invoke the JavaScript function code by either calling or jumping. | 117 // Invoke the JavaScript function code by either calling or jumping. |
118 void InvokeCode(Register code, | 118 void InvokeCode(Register code, |
119 const ParameterCount& expected, | 119 const ParameterCount& expected, |
120 const ParameterCount& actual, | 120 const ParameterCount& actual, |
121 InvokeFlag flag); | 121 InvokeFlag flag); |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 // Generate a MemOperand for loading a field from an object. | 260 // Generate a MemOperand for loading a field from an object. |
261 static inline MemOperand FieldMemOperand(Register object, int offset) { | 261 static inline MemOperand FieldMemOperand(Register object, int offset) { |
262 return MemOperand(object, offset - kHeapObjectTag); | 262 return MemOperand(object, offset - kHeapObjectTag); |
263 } | 263 } |
264 | 264 |
265 | 265 |
266 | 266 |
267 } } // namespace v8::internal | 267 } } // namespace v8::internal |
268 | 268 |
269 #endif // V8_MACRO_ASSEMBLER_ARM_H_ | 269 #endif // V8_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |