OLD | NEW |
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 #if V8_TARGET_ARCH_IA32 | 5 #if V8_TARGET_ARCH_IA32 |
6 | 6 |
7 #include "src/interface-descriptors.h" | 7 #include "src/interface-descriptors.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 void ResumeGeneratorDescriptor::InitializePlatformSpecific( | 412 void ResumeGeneratorDescriptor::InitializePlatformSpecific( |
413 CallInterfaceDescriptorData* data) { | 413 CallInterfaceDescriptorData* data) { |
414 Register registers[] = { | 414 Register registers[] = { |
415 eax, // the value to pass to the generator | 415 eax, // the value to pass to the generator |
416 ebx, // the JSGeneratorObject to resume | 416 ebx, // the JSGeneratorObject to resume |
417 edx // the resume mode (tagged) | 417 edx // the resume mode (tagged) |
418 }; | 418 }; |
419 data->InitializePlatformSpecific(arraysize(registers), registers); | 419 data->InitializePlatformSpecific(arraysize(registers), registers); |
420 } | 420 } |
421 | 421 |
| 422 void FrameDropperTrampolineDescriptor::InitializePlatformSpecific( |
| 423 CallInterfaceDescriptorData* data) { |
| 424 Register registers[] = { |
| 425 ebx, // loaded new FP |
| 426 }; |
| 427 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 428 } |
| 429 |
422 } // namespace internal | 430 } // namespace internal |
423 } // namespace v8 | 431 } // namespace v8 |
424 | 432 |
425 #endif // V8_TARGET_ARCH_IA32 | 433 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |