Skip to content

Commit

Permalink
Move Label to base folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ZehMatt committed Dec 27, 2023
1 parent fc95dc3 commit 028bd1d
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ set(zasm_SOURCES
"src/zasm/src/program/saverestoretypes.hpp"
"include/zasm/base/immediate.hpp"
"include/zasm/base/instruction.hpp"
"include/zasm/base/label.hpp"
"include/zasm/base/meta.hpp"
"include/zasm/base/mode.hpp"
"include/zasm/base/register.hpp"
Expand All @@ -112,7 +113,6 @@ set(zasm_SOURCES
"include/zasm/program/data.hpp"
"include/zasm/program/embeddedlabel.hpp"
"include/zasm/program/instruction.hpp"
"include/zasm/program/label.hpp"
"include/zasm/program/labeldata.hpp"
"include/zasm/program/memory.hpp"
"include/zasm/program/node.hpp"
Expand Down
File renamed without changes.
3 changes: 1 addition & 2 deletions include/zasm/program/embeddedlabel.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#pragma once

#include "label.hpp"

#include <cstddef>
#include <cstdint>
#include <zasm/base/label.hpp>
#include <zasm/core/bitsize.hpp>

namespace zasm
Expand Down
2 changes: 1 addition & 1 deletion include/zasm/program/labeldata.hpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#pragma once

#include <cstdint>
#include <zasm/base/label.hpp>
#include <zasm/core/enumflags.hpp>
#include <zasm/program/label.hpp>

namespace zasm
{
Expand Down
3 changes: 1 addition & 2 deletions include/zasm/program/memory.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#pragma once

#include "label.hpp"

#include <cstdint>
#include <limits>
#include <zasm/base/label.hpp>
#include <zasm/base/mode.hpp>
#include <zasm/base/register.hpp>
#include <zasm/core/bitsize.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/zasm/program/node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
#include "data.hpp"
#include "embeddedlabel.hpp"
#include "instruction.hpp"
#include "label.hpp"
#include "section.hpp"
#include "sentinel.hpp"

#include <climits>
#include <cstddef>
#include <variant>
#include <zasm/base/label.hpp>
#include <zasm/core/enumflags.hpp>

namespace zasm
Expand Down
2 changes: 1 addition & 1 deletion include/zasm/program/operand.hpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#pragma once

#include "label.hpp"
#include "memory.hpp"

#include <cstdint>
#include <variant>
#include <zasm/base/immediate.hpp>
#include <zasm/base/label.hpp>
#include <zasm/base/register.hpp>
#include <zasm/core/enumflags.hpp>

Expand Down
2 changes: 1 addition & 1 deletion include/zasm/program/program.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

#include "data.hpp"
#include "embeddedlabel.hpp"
#include "label.hpp"
#include "node.hpp"
#include "section.hpp"

#include <cstddef>
#include <cstdint>
#include <memory>
#include <zasm/base/label.hpp>
#include <zasm/base/mode.hpp>
#include <zasm/core/errors.hpp>
#include <zasm/core/expected.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/zasm/src/encoder/encoder.context.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#include <cstdint>
#include <optional>
#include <vector>
#include <zasm/base/label.hpp>
#include <zasm/core/stringpool.hpp>
#include <zasm/program/label.hpp>
#include <zasm/program/section.hpp>

namespace zasm
Expand Down
4 changes: 2 additions & 2 deletions src/zasm/src/program/program.state.hpp
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#pragma once

#include "zasm/base/mode.hpp"
#include "zasm/core/enumflags.hpp"
#include "zasm/core/objectpool.hpp"
#include "zasm/core/stringpool.hpp"
#include "zasm/encoder/encoder.hpp"
#include "zasm/program/data.hpp"
#include "zasm/program/label.hpp"
#include "zasm/program/labeldata.hpp"
#include "zasm/program/node.hpp"
#include "zasm/program/section.hpp"

#include <Zydis/Zydis.h>
#include <cstddef>
#include <vector>
#include <zasm/base/label.hpp>
#include <zasm/base/mode.hpp>

namespace zasm
{
Expand Down

0 comments on commit 028bd1d

Please sign in to comment.