summaryrefslogtreecommitdiff
path: root/src/type-checker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/type-checker.cc')
-rw-r--r--src/type-checker.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/type-checker.cc b/src/type-checker.cc
index 70a1d659..867ab098 100644
--- a/src/type-checker.cc
+++ b/src/type-checker.cc
@@ -18,7 +18,7 @@
#define CHECK_RESULT(expr) \
do { \
- if (WABT_FAILED(expr)) \
+ if (Failed(expr)) \
return Result::Error; \
} while (0)
@@ -66,7 +66,7 @@ Result TypeChecker::TopLabel(Label** out_label) {
bool TypeChecker::IsUnreachable() {
Label* label;
- if (WABT_FAILED(TopLabel(&label)))
+ if (Failed(TopLabel(&label)))
return true;
return label->unreachable;
}