Skip to content

Commit

Permalink
fix: fix align
Browse files Browse the repository at this point in the history
  • Loading branch information
ganyao114 committed Dec 8, 2023
1 parent 2507374 commit c8af311
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/runtime/ir/args.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct Void {
explicit Void(Inst*) {}
};

#pragma pack(1)
#pragma pack(push, 1)
class Imm {
public:
explicit Imm(bool value) : type{ValueType::BOOL}, imm_bool{value} {}
Expand All @@ -66,7 +66,6 @@ class Imm {
};
};

#pragma pack(push, 1)
class Value {
public:
constexpr Value(Inst* in = {}) : inst(in) {}
Expand Down

0 comments on commit c8af311

Please sign in to comment.