Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: src/arm/macro-assembler-arm.h

Issue 259013: Align the stack correctly on ARM on calls to fp operation helpers. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm/codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/arm/codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698