// 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. #define RUNTIME_VM_CONSTANTS_H_ // To work around include guard. #include "vm/constants_ia32.h" namespace arch_ia32 { const char* cpu_reg_names[kNumberOfCpuRegisters] = {"eax", "ecx", "edx", "ebx", "esp", "ebp", "esi", "edi"}; const char* 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[] = { static_cast(0)}; const FpuRegister CallingConventions::FpuArgumentRegisters[] = { static_cast(0)}; } // namespace arch_ia32