blob: bbe4febf17ddfd3fa02d799dbd65bb0ef77d9f18 [file] [log] [blame]
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include "platform/globals.h" // NOLINT
#if defined(TARGET_ARCH_IA32)
#include "vm/constants.h" // NOLINT
namespace dart {
const char* const cpu_reg_names[kNumberOfCpuRegisters] = {
"eax", "ecx", "edx", "ebx", "esp", "ebp", "esi", "edi"};
const char* const fpu_reg_names[kNumberOfXmmRegisters] = {
"xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "xmm6", "xmm7"};
// Although 'kArgumentRegisters' and 'kFpuArgumentRegisters' are both 0, we have
// to give these arrays at least one element to appease MSVC.
const Register CallingConventions::ArgumentRegisters[] = {
const FpuRegister CallingConventions::FpuArgumentRegisters[] = {
} // namespace dart
#endif // defined(TARGET_ARCH_IA32)