mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
![Ryan Macnak](/assets/img/avatar_default.png)
Change-Id: Ia3127ba9ef4ee1faf1f85a6eaa0dafd0cf187b2b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/99376 Reviewed-by: Aart Bik <ajcbik@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> Reviewed-by: Samir Jindel <sjindel@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
25 lines
983 B
C++
25 lines
983 B
C++
// 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<Register>(0)};
|
|
const FpuRegister CallingConventions::FpuArgumentRegisters[] = {
|
|
static_cast<FpuRegister>(0)};
|
|
|
|
} // namespace arch_ia32
|