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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 void EnterExitFrame(); | 257 void EnterExitFrame(); |
258 | 258 |
259 // Leave the current exit frame. Expects the return value in r0. | 259 // Leave the current exit frame. Expects the return value in r0. |
260 void LeaveExitFrame(); | 260 void LeaveExitFrame(); |
261 | 261 |
262 // Get the actual activation frame alignment for target environment. | 262 // Get the actual activation frame alignment for target environment. |
263 static int ActivationFrameAlignment(); | 263 static int ActivationFrameAlignment(); |
264 | 264 |
265 void LoadContext(Register dst, int context_chain_length); | 265 void LoadContext(Register dst, int context_chain_length); |
266 | 266 |
| 267 void LoadGlobalFunction(int index, Register function); |
| 268 |
| 269 // Load the initial map from the global function. The registers |
| 270 // function and map can be the same, function is then overwritten. |
| 271 void LoadGlobalFunctionInitialMap(Register function, |
| 272 Register map, |
| 273 Register scratch); |
| 274 |
267 // --------------------------------------------------------------------------- | 275 // --------------------------------------------------------------------------- |
268 // JavaScript invokes | 276 // JavaScript invokes |
269 | 277 |
270 // Invoke the JavaScript function code by either calling or jumping. | 278 // Invoke the JavaScript function code by either calling or jumping. |
271 void InvokeCode(Register code, | 279 void InvokeCode(Register code, |
272 const ParameterCount& expected, | 280 const ParameterCount& expected, |
273 const ParameterCount& actual, | 281 const ParameterCount& actual, |
274 InvokeFlag flag); | 282 InvokeFlag flag); |
275 | 283 |
276 void InvokeCode(Handle<Code> code, | 284 void InvokeCode(Handle<Code> code, |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
777 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 785 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
778 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 786 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
779 #else | 787 #else |
780 #define ACCESS_MASM(masm) masm-> | 788 #define ACCESS_MASM(masm) masm-> |
781 #endif | 789 #endif |
782 | 790 |
783 | 791 |
784 } } // namespace v8::internal | 792 } } // namespace v8::internal |
785 | 793 |
786 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 794 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |