Basic ContextPromotionPass and some opcode info rearranging.
This commit is contained in:
25
src/alloy/hir/opcodes.cc
Normal file
25
src/alloy/hir/opcodes.cc
Normal file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2013 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#include <alloy/hir/opcodes.h>
|
||||
|
||||
using namespace alloy;
|
||||
using namespace alloy::hir;
|
||||
|
||||
|
||||
namespace alloy {
|
||||
namespace hir {
|
||||
|
||||
#define DEFINE_OPCODE(num, name, sig, flags) \
|
||||
static const OpcodeInfo num##_info = { flags, sig, name, num, };
|
||||
#include <alloy/hir/opcodes.inl>
|
||||
#undef DEFINE_OPCODE
|
||||
|
||||
} // namespace hir
|
||||
} // namespace alloy
|
||||
Reference in New Issue
Block a user