2014-04-21 02:14:48 +00:00
|
|
|
/* Copyright (c) 2008-2014, Avian Contributors
|
2013-02-12 15:15:30 +00:00
|
|
|
|
|
|
|
Permission to use, copy, modify, and/or distribute this software
|
|
|
|
for any purpose with or without fee is hereby granted, provided
|
|
|
|
that the above copyright notice and this permission notice appear
|
|
|
|
in all copies.
|
|
|
|
|
|
|
|
There is NO WARRANTY for this software. See license.txt for
|
|
|
|
details. */
|
|
|
|
|
|
|
|
#ifndef AVIAN_CODEGEN_TARGETS_H
|
|
|
|
#define AVIAN_CODEGEN_TARGETS_H
|
|
|
|
|
2013-02-24 06:03:01 +00:00
|
|
|
namespace vm {
|
|
|
|
class System;
|
|
|
|
}
|
2013-02-12 15:15:30 +00:00
|
|
|
|
|
|
|
namespace avian {
|
|
|
|
namespace codegen {
|
|
|
|
|
2013-02-24 06:03:01 +00:00
|
|
|
class Architecture;
|
2013-02-12 15:15:30 +00:00
|
|
|
|
2014-07-11 15:50:18 +00:00
|
|
|
Architecture* makeArchitectureNative(vm::System* system,
|
|
|
|
bool useNativeFeatures);
|
2013-02-24 06:03:01 +00:00
|
|
|
|
|
|
|
Architecture* makeArchitectureX86(vm::System* system, bool useNativeFeatures);
|
|
|
|
Architecture* makeArchitectureArm(vm::System* system, bool useNativeFeatures);
|
2013-02-12 15:15:30 +00:00
|
|
|
|
2014-07-11 15:50:18 +00:00
|
|
|
} // namespace codegen
|
|
|
|
} // namespace avian
|
2013-02-12 15:15:30 +00:00
|
|
|
|
2014-07-11 15:50:18 +00:00
|
|
|
#endif // AVIAN_CODEGEN_TARGETS_H
|