blob: 65b8ca124df3f51bd288faf2c2ba204c62c6e44d [file] [log] [blame]
// Copyright (c) 2012, 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.
#ifndef RUNTIME_VM_CODE_GENERATOR_H_
#define RUNTIME_VM_CODE_GENERATOR_H_
#include "vm/globals.h"
#include "vm/runtime_entry.h"
namespace dart {
class Array;
template <typename T>
class GrowableArray;
class ICData;
class Instance;
const char* DeoptReasonToCString(ICData::DeoptReasonId deopt_reason);
void DeoptimizeAt(const Code& optimized_code, StackFrame* frame);
void DeoptimizeFunctionsOnStack();
double DartModulo(double a, double b);
void SinCos(double arg, double* sin_res, double* cos_res);
} // namespace dart
#endif // RUNTIME_VM_CODE_GENERATOR_H_