2013-01-14 05:25:28 +00:00
|
|
|
/**
|
|
|
|
******************************************************************************
|
|
|
|
* 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. *
|
|
|
|
******************************************************************************
|
|
|
|
*/
|
|
|
|
|
2013-12-07 06:57:16 +00:00
|
|
|
#ifndef ALLOY_HIR_LABEL_H_
|
|
|
|
#define ALLOY_HIR_LABEL_H_
|
2013-01-14 05:25:28 +00:00
|
|
|
|
2013-12-07 06:57:16 +00:00
|
|
|
#include <alloy/core.h>
|
2013-01-14 05:25:28 +00:00
|
|
|
|
|
|
|
|
2013-12-07 06:57:16 +00:00
|
|
|
namespace alloy {
|
|
|
|
namespace hir {
|
|
|
|
|
|
|
|
class Block;
|
|
|
|
|
|
|
|
|
|
|
|
class Label {
|
|
|
|
public:
|
|
|
|
Block* block;
|
|
|
|
Label* next;
|
|
|
|
Label* prev;
|
|
|
|
|
|
|
|
uint32_t id;
|
|
|
|
char* name;
|
|
|
|
|
|
|
|
void* tag;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace hir
|
|
|
|
} // namespace alloy
|
|
|
|
|
|
|
|
|
|
|
|
#endif // ALLOY_HIR_LABEL_H_
|