From e8f9d207427bda2f6e22c28ff0210b294b1f70e1 Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Tue, 7 Jan 2020 11:16:44 -0800 Subject: [NFC] Enforce use of `Type::` on type names (#2434) --- src/ir/load-utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ir/load-utils.h') diff --git a/src/ir/load-utils.h b/src/ir/load-utils.h index a3bf79c60..62c31ef4e 100644 --- a/src/ir/load-utils.h +++ b/src/ir/load-utils.h @@ -28,7 +28,7 @@ namespace LoadUtils { // fill in bits either signed or unsigned wise) inline bool isSignRelevant(Load* load) { auto type = load->type; - if (load->type == unreachable) { + if (load->type == Type::unreachable) { return false; } return !type.isFloat() && load->bytes < type.getByteSize(); -- cgit v1.2.3