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

Side by Side Diff: src/x87/code-stubs-x87.cc

Issue 399313005: X87: StubCallInterfaceDescriptor takes a context register. (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@bleeding_edge
Patch Set: Created 6 years, 5 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 | « no previous file | src/x87/lithium-x87.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_X87 7 #if V8_TARGET_ARCH_X87
8 8
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
11 #include "src/codegen.h" 11 #include "src/codegen.h"
12 #include "src/isolate.h" 12 #include "src/isolate.h"
13 #include "src/jsregexp.h" 13 #include "src/jsregexp.h"
14 #include "src/regexp-macro-assembler.h" 14 #include "src/regexp-macro-assembler.h"
15 #include "src/runtime.h" 15 #include "src/runtime.h"
16 #include "src/stub-cache.h" 16 #include "src/stub-cache.h"
17 17
18 namespace v8 { 18 namespace v8 {
19 namespace internal { 19 namespace internal {
20 20
21 21
22 void FastNewClosureStub::InitializeInterfaceDescriptor( 22 void FastNewClosureStub::InitializeInterfaceDescriptor(
23 CodeStubInterfaceDescriptor* descriptor) { 23 CodeStubInterfaceDescriptor* descriptor) {
24 Register registers[] = { ebx }; 24 Register registers[] = { esi, ebx };
25 descriptor->Initialize( 25 descriptor->Initialize(
26 ARRAY_SIZE(registers), registers, 26 ARRAY_SIZE(registers), registers,
27 Runtime::FunctionForId(Runtime::kNewClosureFromStubFailure)->entry); 27 Runtime::FunctionForId(Runtime::kNewClosureFromStubFailure)->entry);
28 } 28 }
29 29
30 30
31 void FastNewContextStub::InitializeInterfaceDescriptor( 31 void FastNewContextStub::InitializeInterfaceDescriptor(
32 CodeStubInterfaceDescriptor* descriptor) { 32 CodeStubInterfaceDescriptor* descriptor) {
33 Register registers[] = { edi }; 33 Register registers[] = { esi, edi };
34 descriptor->Initialize(ARRAY_SIZE(registers), registers); 34 descriptor->Initialize(ARRAY_SIZE(registers), registers);
35 } 35 }
36 36
37 37
38 void ToNumberStub::InitializeInterfaceDescriptor( 38 void ToNumberStub::InitializeInterfaceDescriptor(
39 CodeStubInterfaceDescriptor* descriptor) { 39 CodeStubInterfaceDescriptor* descriptor) {
40 Register registers[] = { eax }; 40 // ToNumberStub invokes a function, and therefore needs a context.
41 Register registers[] = { esi, eax };
41 descriptor->Initialize(ARRAY_SIZE(registers), registers); 42 descriptor->Initialize(ARRAY_SIZE(registers), registers);
42 } 43 }
43 44
44 45
45 void NumberToStringStub::InitializeInterfaceDescriptor( 46 void NumberToStringStub::InitializeInterfaceDescriptor(
46 CodeStubInterfaceDescriptor* descriptor) { 47 CodeStubInterfaceDescriptor* descriptor) {
47 Register registers[] = { eax }; 48 Register registers[] = { esi, eax };
48 descriptor->Initialize( 49 descriptor->Initialize(
49 ARRAY_SIZE(registers), registers, 50 ARRAY_SIZE(registers), registers,
50 Runtime::FunctionForId(Runtime::kNumberToStringRT)->entry); 51 Runtime::FunctionForId(Runtime::kNumberToStringRT)->entry);
51 } 52 }
52 53
53 54
54 void FastCloneShallowArrayStub::InitializeInterfaceDescriptor( 55 void FastCloneShallowArrayStub::InitializeInterfaceDescriptor(
55 CodeStubInterfaceDescriptor* descriptor) { 56 CodeStubInterfaceDescriptor* descriptor) {
56 Register registers[] = { eax, ebx, ecx }; 57 Register registers[] = { esi, eax, ebx, ecx };
57 Representation representations[] = { 58 Representation representations[] = {
58 Representation::Tagged(), 59 Representation::Tagged(),
60 Representation::Tagged(),
59 Representation::Smi(), 61 Representation::Smi(),
60 Representation::Tagged() }; 62 Representation::Tagged() };
61 63
62 descriptor->Initialize( 64 descriptor->Initialize(
63 ARRAY_SIZE(registers), registers, 65 ARRAY_SIZE(registers), registers,
64 Runtime::FunctionForId( 66 Runtime::FunctionForId(
65 Runtime::kCreateArrayLiteralStubBailout)->entry, 67 Runtime::kCreateArrayLiteralStubBailout)->entry,
66 representations); 68 representations);
67 } 69 }
68 70
69 71
70 void FastCloneShallowObjectStub::InitializeInterfaceDescriptor( 72 void FastCloneShallowObjectStub::InitializeInterfaceDescriptor(
71 CodeStubInterfaceDescriptor* descriptor) { 73 CodeStubInterfaceDescriptor* descriptor) {
72 Register registers[] = { eax, ebx, ecx, edx }; 74 Register registers[] = { esi, eax, ebx, ecx, edx };
73 descriptor->Initialize( 75 descriptor->Initialize(
74 ARRAY_SIZE(registers), registers, 76 ARRAY_SIZE(registers), registers,
75 Runtime::FunctionForId(Runtime::kCreateObjectLiteral)->entry); 77 Runtime::FunctionForId(Runtime::kCreateObjectLiteral)->entry);
76 } 78 }
77 79
78 80
79 void CreateAllocationSiteStub::InitializeInterfaceDescriptor( 81 void CreateAllocationSiteStub::InitializeInterfaceDescriptor(
80 CodeStubInterfaceDescriptor* descriptor) { 82 CodeStubInterfaceDescriptor* descriptor) {
81 Register registers[] = { ebx, edx }; 83 Register registers[] = { esi, ebx, edx };
82 descriptor->Initialize(ARRAY_SIZE(registers), registers); 84 descriptor->Initialize(ARRAY_SIZE(registers), registers);
83 } 85 }
84 86
85 87
86 void RegExpConstructResultStub::InitializeInterfaceDescriptor( 88 void RegExpConstructResultStub::InitializeInterfaceDescriptor(
87 CodeStubInterfaceDescriptor* descriptor) { 89 CodeStubInterfaceDescriptor* descriptor) {
88 Register registers[] = { ecx, ebx, eax }; 90 Register registers[] = { esi, ecx, ebx, eax };
89 descriptor->Initialize( 91 descriptor->Initialize(
90 ARRAY_SIZE(registers), registers, 92 ARRAY_SIZE(registers), registers,
91 Runtime::FunctionForId(Runtime::kRegExpConstructResult)->entry); 93 Runtime::FunctionForId(Runtime::kRegExpConstructResult)->entry);
92 } 94 }
93 95
94 96
95 void TransitionElementsKindStub::InitializeInterfaceDescriptor( 97 void TransitionElementsKindStub::InitializeInterfaceDescriptor(
96 CodeStubInterfaceDescriptor* descriptor) { 98 CodeStubInterfaceDescriptor* descriptor) {
97 Register registers[] = { eax, ebx }; 99 Register registers[] = { esi, eax, ebx };
98 descriptor->Initialize( 100 descriptor->Initialize(
99 ARRAY_SIZE(registers), registers, 101 ARRAY_SIZE(registers), registers,
100 Runtime::FunctionForId(Runtime::kTransitionElementsKind)->entry); 102 Runtime::FunctionForId(Runtime::kTransitionElementsKind)->entry);
101 } 103 }
102 104
103 105
106 const Register InterfaceDescriptor::ContextRegister() { return esi; }
107
108
104 static void InitializeArrayConstructorDescriptor( 109 static void InitializeArrayConstructorDescriptor(
105 Isolate* isolate, 110 Isolate* isolate,
106 CodeStubInterfaceDescriptor* descriptor, 111 CodeStubInterfaceDescriptor* descriptor,
107 int constant_stack_parameter_count) { 112 int constant_stack_parameter_count) {
108 // register state 113 // register state
109 // eax -- number of arguments 114 // eax -- number of arguments
110 // edi -- function 115 // edi -- function
111 // ebx -- allocation site with elements kind 116 // ebx -- allocation site with elements kind
112 Address deopt_handler = Runtime::FunctionForId( 117 Address deopt_handler = Runtime::FunctionForId(
113 Runtime::kArrayConstructor)->entry; 118 Runtime::kArrayConstructor)->entry;
114 119
115 if (constant_stack_parameter_count == 0) { 120 if (constant_stack_parameter_count == 0) {
116 Register registers[] = { edi, ebx }; 121 Register registers[] = { esi, edi, ebx };
117 descriptor->Initialize(ARRAY_SIZE(registers), registers, 122 descriptor->Initialize(ARRAY_SIZE(registers), registers,
118 deopt_handler, 123 deopt_handler,
119 NULL, 124 NULL,
120 constant_stack_parameter_count, 125 constant_stack_parameter_count,
121 JS_FUNCTION_STUB_MODE); 126 JS_FUNCTION_STUB_MODE);
122 } else { 127 } else {
123 // stack param count needs (constructor pointer, and single argument) 128 // stack param count needs (constructor pointer, and single argument)
124 Register registers[] = { edi, ebx, eax }; 129 Register registers[] = { esi, edi, ebx, eax };
125 Representation representations[] = { 130 Representation representations[] = {
126 Representation::Tagged(), 131 Representation::Tagged(),
127 Representation::Tagged(), 132 Representation::Tagged(),
133 Representation::Tagged(),
128 Representation::Integer32() }; 134 Representation::Integer32() };
129 descriptor->Initialize(ARRAY_SIZE(registers), registers, 135 descriptor->Initialize(ARRAY_SIZE(registers), registers,
130 eax, 136 eax,
131 deopt_handler, 137 deopt_handler,
132 representations, 138 representations,
133 constant_stack_parameter_count, 139 constant_stack_parameter_count,
134 JS_FUNCTION_STUB_MODE, 140 JS_FUNCTION_STUB_MODE,
135 PASS_ARGUMENTS); 141 PASS_ARGUMENTS);
136 } 142 }
137 } 143 }
138 144
139 145
140 static void InitializeInternalArrayConstructorDescriptor( 146 static void InitializeInternalArrayConstructorDescriptor(
141 CodeStubInterfaceDescriptor* descriptor, 147 CodeStubInterfaceDescriptor* descriptor,
142 int constant_stack_parameter_count) { 148 int constant_stack_parameter_count) {
143 // register state 149 // register state
144 // eax -- number of arguments 150 // eax -- number of arguments
145 // edi -- constructor function 151 // edi -- constructor function
146 Address deopt_handler = Runtime::FunctionForId( 152 Address deopt_handler = Runtime::FunctionForId(
147 Runtime::kInternalArrayConstructor)->entry; 153 Runtime::kInternalArrayConstructor)->entry;
148 154
149 if (constant_stack_parameter_count == 0) { 155 if (constant_stack_parameter_count == 0) {
150 Register registers[] = { edi }; 156 Register registers[] = { esi, edi };
151 descriptor->Initialize(ARRAY_SIZE(registers), registers, 157 descriptor->Initialize(ARRAY_SIZE(registers), registers,
152 deopt_handler, 158 deopt_handler,
153 NULL, 159 NULL,
154 constant_stack_parameter_count, 160 constant_stack_parameter_count,
155 JS_FUNCTION_STUB_MODE); 161 JS_FUNCTION_STUB_MODE);
156 } else { 162 } else {
157 // stack param count needs (constructor pointer, and single argument) 163 // stack param count needs (constructor pointer, and single argument)
158 Register registers[] = { edi, eax }; 164 Register registers[] = { esi, edi, eax };
159 Representation representations[] = { 165 Representation representations[] = {
160 Representation::Tagged(), 166 Representation::Tagged(),
167 Representation::Tagged(),
161 Representation::Integer32() }; 168 Representation::Integer32() };
162 descriptor->Initialize(ARRAY_SIZE(registers), registers, 169 descriptor->Initialize(ARRAY_SIZE(registers), registers,
163 eax, 170 eax,
164 deopt_handler, 171 deopt_handler,
165 representations, 172 representations,
166 constant_stack_parameter_count, 173 constant_stack_parameter_count,
167 JS_FUNCTION_STUB_MODE, 174 JS_FUNCTION_STUB_MODE,
168 PASS_ARGUMENTS); 175 PASS_ARGUMENTS);
169 } 176 }
170 } 177 }
(...skipping 30 matching lines...) Expand all
201 208
202 209
203 void InternalArrayNArgumentsConstructorStub::InitializeInterfaceDescriptor( 210 void InternalArrayNArgumentsConstructorStub::InitializeInterfaceDescriptor(
204 CodeStubInterfaceDescriptor* descriptor) { 211 CodeStubInterfaceDescriptor* descriptor) {
205 InitializeInternalArrayConstructorDescriptor(descriptor, -1); 212 InitializeInternalArrayConstructorDescriptor(descriptor, -1);
206 } 213 }
207 214
208 215
209 void CompareNilICStub::InitializeInterfaceDescriptor( 216 void CompareNilICStub::InitializeInterfaceDescriptor(
210 CodeStubInterfaceDescriptor* descriptor) { 217 CodeStubInterfaceDescriptor* descriptor) {
211 Register registers[] = { eax }; 218 Register registers[] = { esi, eax };
212 descriptor->Initialize(ARRAY_SIZE(registers), registers, 219 descriptor->Initialize(ARRAY_SIZE(registers), registers,
213 FUNCTION_ADDR(CompareNilIC_Miss)); 220 FUNCTION_ADDR(CompareNilIC_Miss));
214 descriptor->SetMissHandler( 221 descriptor->SetMissHandler(
215 ExternalReference(IC_Utility(IC::kCompareNilIC_Miss), isolate())); 222 ExternalReference(IC_Utility(IC::kCompareNilIC_Miss), isolate()));
216 } 223 }
217 224
218 void ToBooleanStub::InitializeInterfaceDescriptor( 225 void ToBooleanStub::InitializeInterfaceDescriptor(
219 CodeStubInterfaceDescriptor* descriptor) { 226 CodeStubInterfaceDescriptor* descriptor) {
220 Register registers[] = { eax }; 227 Register registers[] = { esi, eax };
221 descriptor->Initialize(ARRAY_SIZE(registers), registers, 228 descriptor->Initialize(ARRAY_SIZE(registers), registers,
222 FUNCTION_ADDR(ToBooleanIC_Miss)); 229 FUNCTION_ADDR(ToBooleanIC_Miss));
223 descriptor->SetMissHandler( 230 descriptor->SetMissHandler(
224 ExternalReference(IC_Utility(IC::kToBooleanIC_Miss), isolate())); 231 ExternalReference(IC_Utility(IC::kToBooleanIC_Miss), isolate()));
225 } 232 }
226 233
227 234
228 void BinaryOpICStub::InitializeInterfaceDescriptor( 235 void BinaryOpICStub::InitializeInterfaceDescriptor(
229 CodeStubInterfaceDescriptor* descriptor) { 236 CodeStubInterfaceDescriptor* descriptor) {
230 Register registers[] = { edx, eax }; 237 Register registers[] = { esi, edx, eax };
231 descriptor->Initialize(ARRAY_SIZE(registers), registers, 238 descriptor->Initialize(ARRAY_SIZE(registers), registers,
232 FUNCTION_ADDR(BinaryOpIC_Miss)); 239 FUNCTION_ADDR(BinaryOpIC_Miss));
233 descriptor->SetMissHandler( 240 descriptor->SetMissHandler(
234 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate())); 241 ExternalReference(IC_Utility(IC::kBinaryOpIC_Miss), isolate()));
235 } 242 }
236 243
237 244
238 void BinaryOpWithAllocationSiteStub::InitializeInterfaceDescriptor( 245 void BinaryOpWithAllocationSiteStub::InitializeInterfaceDescriptor(
239 CodeStubInterfaceDescriptor* descriptor) { 246 CodeStubInterfaceDescriptor* descriptor) {
240 Register registers[] = { ecx, edx, eax }; 247 Register registers[] = { esi, ecx, edx, eax };
241 descriptor->Initialize(ARRAY_SIZE(registers), registers, 248 descriptor->Initialize(ARRAY_SIZE(registers), registers,
242 FUNCTION_ADDR(BinaryOpIC_MissWithAllocationSite)); 249 FUNCTION_ADDR(BinaryOpIC_MissWithAllocationSite));
243 } 250 }
244 251
245 252
246 void StringAddStub::InitializeInterfaceDescriptor( 253 void StringAddStub::InitializeInterfaceDescriptor(
247 CodeStubInterfaceDescriptor* descriptor) { 254 CodeStubInterfaceDescriptor* descriptor) {
248 Register registers[] = { edx, eax }; 255 Register registers[] = { esi, edx, eax };
249 descriptor->Initialize( 256 descriptor->Initialize(
250 ARRAY_SIZE(registers), registers, 257 ARRAY_SIZE(registers), registers,
251 Runtime::FunctionForId(Runtime::kStringAdd)->entry); 258 Runtime::FunctionForId(Runtime::kStringAdd)->entry);
252 } 259 }
253 260
254 261
255 void CallDescriptors::InitializeForIsolate(Isolate* isolate) { 262 void CallDescriptors::InitializeForIsolate(Isolate* isolate) {
256 { 263 {
257 CallInterfaceDescriptor* descriptor = 264 CallInterfaceDescriptor* descriptor =
258 isolate->call_descriptor(Isolate::ArgumentAdaptorCall); 265 isolate->call_descriptor(Isolate::ArgumentAdaptorCall);
259 Register registers[] = { edi, // JSFunction 266 Register registers[] = { esi, // context
260 esi, // context 267 edi, // JSFunction
261 eax, // actual number of arguments 268 eax, // actual number of arguments
262 ebx, // expected number of arguments 269 ebx, // expected number of arguments
263 }; 270 };
264 Representation representations[] = { 271 Representation representations[] = {
272 Representation::Tagged(), // context
265 Representation::Tagged(), // JSFunction 273 Representation::Tagged(), // JSFunction
266 Representation::Tagged(), // context
267 Representation::Integer32(), // actual number of arguments 274 Representation::Integer32(), // actual number of arguments
268 Representation::Integer32(), // expected number of arguments 275 Representation::Integer32(), // expected number of arguments
269 }; 276 };
270 descriptor->Initialize(ARRAY_SIZE(registers), registers, representations); 277 descriptor->Initialize(ARRAY_SIZE(registers), registers, representations);
271 } 278 }
272 { 279 {
273 CallInterfaceDescriptor* descriptor = 280 CallInterfaceDescriptor* descriptor =
274 isolate->call_descriptor(Isolate::KeyedCall); 281 isolate->call_descriptor(Isolate::KeyedCall);
275 Register registers[] = { esi, // context 282 Register registers[] = { esi, // context
276 ecx, // key 283 ecx, // key
(...skipping 13 matching lines...) Expand all
290 Representation representations[] = { 297 Representation representations[] = {
291 Representation::Tagged(), // context 298 Representation::Tagged(), // context
292 Representation::Tagged(), // name 299 Representation::Tagged(), // name
293 }; 300 };
294 descriptor->Initialize(ARRAY_SIZE(registers), registers, representations); 301 descriptor->Initialize(ARRAY_SIZE(registers), registers, representations);
295 } 302 }
296 { 303 {
297 CallInterfaceDescriptor* descriptor = 304 CallInterfaceDescriptor* descriptor =
298 isolate->call_descriptor(Isolate::CallHandler); 305 isolate->call_descriptor(Isolate::CallHandler);
299 Register registers[] = { esi, // context 306 Register registers[] = { esi, // context
300 edx, // receiver 307 edx, // name
301 }; 308 };
302 Representation representations[] = { 309 Representation representations[] = {
303 Representation::Tagged(), // context 310 Representation::Tagged(), // context
304 Representation::Tagged(), // receiver 311 Representation::Tagged(), // receiver
305 }; 312 };
306 descriptor->Initialize(ARRAY_SIZE(registers), registers, representations); 313 descriptor->Initialize(ARRAY_SIZE(registers), registers, representations);
307 } 314 }
308 { 315 {
309 CallInterfaceDescriptor* descriptor = 316 CallInterfaceDescriptor* descriptor =
310 isolate->call_descriptor(Isolate::ApiFunctionCall); 317 isolate->call_descriptor(Isolate::ApiFunctionCall);
311 Register registers[] = { eax, // callee 318 Register registers[] = { esi, // context
319 eax, // callee
312 ebx, // call_data 320 ebx, // call_data
313 ecx, // holder 321 ecx, // holder
314 edx, // api_function_address 322 edx, // api_function_address
315 esi, // context
316 }; 323 };
317 Representation representations[] = { 324 Representation representations[] = {
325 Representation::Tagged(), // context
318 Representation::Tagged(), // callee 326 Representation::Tagged(), // callee
319 Representation::Tagged(), // call_data 327 Representation::Tagged(), // call_data
320 Representation::Tagged(), // holder 328 Representation::Tagged(), // holder
321 Representation::External(), // api_function_address 329 Representation::External(), // api_function_address
322 Representation::Tagged(), // context
323 }; 330 };
324 descriptor->Initialize(ARRAY_SIZE(registers), registers, representations); 331 descriptor->Initialize(ARRAY_SIZE(registers), registers, representations);
325 } 332 }
326 } 333 }
327 334
328 335
329 #define __ ACCESS_MASM(masm) 336 #define __ ACCESS_MASM(masm)
330 337
331 338
332 void HydrogenCodeStub::GenerateLightweightMiss(MacroAssembler* masm) { 339 void HydrogenCodeStub::GenerateLightweightMiss(MacroAssembler* masm) {
333 // Update the static counter each time a new code stub is generated. 340 // Update the static counter each time a new code stub is generated.
334 isolate()->counters()->code_stubs()->Increment(); 341 isolate()->counters()->code_stubs()->Increment();
335 342
336 CodeStubInterfaceDescriptor* descriptor = GetInterfaceDescriptor(); 343 CodeStubInterfaceDescriptor* descriptor = GetInterfaceDescriptor();
337 int param_count = descriptor->register_param_count(); 344 int param_count = descriptor->GetEnvironmentParameterCount();
338 { 345 {
339 // Call the runtime system in a fresh internal frame. 346 // Call the runtime system in a fresh internal frame.
340 FrameScope scope(masm, StackFrame::INTERNAL); 347 FrameScope scope(masm, StackFrame::INTERNAL);
341 ASSERT(descriptor->register_param_count() == 0 || 348 ASSERT(param_count == 0 ||
342 eax.is(descriptor->GetParameterRegister(param_count - 1))); 349 eax.is(descriptor->GetEnvironmentParameterRegister(
350 param_count - 1)));
343 // Push arguments 351 // Push arguments
344 for (int i = 0; i < param_count; ++i) { 352 for (int i = 0; i < param_count; ++i) {
345 __ push(descriptor->GetParameterRegister(i)); 353 __ push(descriptor->GetEnvironmentParameterRegister(i));
346 } 354 }
347 ExternalReference miss = descriptor->miss_handler(); 355 ExternalReference miss = descriptor->miss_handler();
348 __ CallExternalReference(miss, descriptor->register_param_count()); 356 __ CallExternalReference(miss, param_count);
349 } 357 }
350 358
351 __ ret(0); 359 __ ret(0);
352 } 360 }
353 361
354 362
355 void StoreBufferOverflowStub::Generate(MacroAssembler* masm) { 363 void StoreBufferOverflowStub::Generate(MacroAssembler* masm) {
356 // We don't allow a GC during a store buffer overflow so there is no need to 364 // We don't allow a GC during a store buffer overflow so there is no need to
357 // store the registers in any particular way, but we do have to store and 365 // store the registers in any particular way, but we do have to store and
358 // restore them. 366 // restore them.
(...skipping 4249 matching lines...) Expand 10 before | Expand all | Expand 10 after
4608 Operand(ebp, 7 * kPointerSize), 4616 Operand(ebp, 7 * kPointerSize),
4609 NULL); 4617 NULL);
4610 } 4618 }
4611 4619
4612 4620
4613 #undef __ 4621 #undef __
4614 4622
4615 } } // namespace v8::internal 4623 } } // namespace v8::internal
4616 4624
4617 #endif // V8_TARGET_ARCH_X87 4625 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « no previous file | src/x87/lithium-x87.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698