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

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

Issue 6529055: [Isolates] Merge crankshaft (r5922 from bleeding_edge). (Closed)
Patch Set: Win32 port Created 9 years, 10 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
« no previous file with comments | « src/x64/lithium-x64.h ('k') | src/x64/macro-assembler-x64.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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2010 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
11 // with the distribution. 11 // with the distribution.
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 Register scratch); 130 Register scratch);
131 131
132 #ifdef ENABLE_DEBUGGER_SUPPORT 132 #ifdef ENABLE_DEBUGGER_SUPPORT
133 // --------------------------------------------------------------------------- 133 // ---------------------------------------------------------------------------
134 // Debugger Support 134 // Debugger Support
135 135
136 void DebugBreak(); 136 void DebugBreak();
137 #endif 137 #endif
138 138
139 // --------------------------------------------------------------------------- 139 // ---------------------------------------------------------------------------
140 // Stack limit support
141
142 // Do simple test for stack overflow. This doesn't handle an overflow.
143 void StackLimitCheck(Label* on_stack_limit_hit);
144
145 // ---------------------------------------------------------------------------
146 // Activation frames 140 // Activation frames
147 141
148 void EnterInternalFrame() { EnterFrame(StackFrame::INTERNAL); } 142 void EnterInternalFrame() { EnterFrame(StackFrame::INTERNAL); }
149 void LeaveInternalFrame() { LeaveFrame(StackFrame::INTERNAL); } 143 void LeaveInternalFrame() { LeaveFrame(StackFrame::INTERNAL); }
150 144
151 void EnterConstructFrame() { EnterFrame(StackFrame::CONSTRUCT); } 145 void EnterConstructFrame() { EnterFrame(StackFrame::CONSTRUCT); }
152 void LeaveConstructFrame() { LeaveFrame(StackFrame::CONSTRUCT); } 146 void LeaveConstructFrame() { LeaveFrame(StackFrame::CONSTRUCT); }
153 147
154 // Enter specific kind of exit frame; either in normal or 148 // Enter specific kind of exit frame; either in normal or
155 // debug mode. Expects the number of arguments in register rax and 149 // debug mode. Expects the number of arguments in register rax and
(...skipping 10 matching lines...) Expand all
166 160
167 // Leave the current exit frame. Expects/provides the return value in 161 // Leave the current exit frame. Expects/provides the return value in
168 // register rax:rdx (untouched) and the pointer to the first 162 // register rax:rdx (untouched) and the pointer to the first
169 // argument in register rsi. 163 // argument in register rsi.
170 void LeaveExitFrame(); 164 void LeaveExitFrame();
171 165
172 // Leave the current exit frame. Expects/provides the return value in 166 // Leave the current exit frame. Expects/provides the return value in
173 // register rax (untouched). 167 // register rax (untouched).
174 void LeaveApiExitFrame(); 168 void LeaveApiExitFrame();
175 169
170 // Push and pop the registers that can hold pointers.
171 void PushSafepointRegisters() { UNIMPLEMENTED(); }
172 void PopSafepointRegisters() { UNIMPLEMENTED(); }
173 static int SafepointRegisterStackIndex(int reg_code) {
174 UNIMPLEMENTED();
175 return 0;
176 }
177
176 // --------------------------------------------------------------------------- 178 // ---------------------------------------------------------------------------
177 // JavaScript invokes 179 // JavaScript invokes
178 180
179 // Invoke the JavaScript function code by either calling or jumping. 181 // Invoke the JavaScript function code by either calling or jumping.
180 void InvokeCode(Register code, 182 void InvokeCode(Register code,
181 const ParameterCount& expected, 183 const ParameterCount& expected,
182 const ParameterCount& actual, 184 const ParameterCount& actual,
183 InvokeFlag flag); 185 InvokeFlag flag);
184 186
185 void InvokeCode(Handle<Code> code, 187 void InvokeCode(Handle<Code> code,
(...skipping 1552 matching lines...) Expand 10 before | Expand all | Expand 10 after
1738 Jump(adaptor, RelocInfo::CODE_TARGET); 1740 Jump(adaptor, RelocInfo::CODE_TARGET);
1739 } 1741 }
1740 bind(&invoke); 1742 bind(&invoke);
1741 } 1743 }
1742 } 1744 }
1743 1745
1744 1746
1745 } } // namespace v8::internal 1747 } } // namespace v8::internal
1746 1748
1747 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1749 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-x64.h ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698