summaryrefslogtreecommitdiff
path: root/src/binary-reader-ir.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-reader-ir.cc')
-rw-r--r--src/binary-reader-ir.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/binary-reader-ir.cc b/src/binary-reader-ir.cc
index e53deba1..7398e7ea 100644
--- a/src/binary-reader-ir.cc
+++ b/src/binary-reader-ir.cc
@@ -29,10 +29,10 @@
#include "common.h"
#include "ir.h"
-#define CHECK_RESULT(expr) \
- do { \
- if (WABT_FAILED(expr)) \
- return Result::Error; \
+#define CHECK_RESULT(expr) \
+ do { \
+ if (Failed(expr)) \
+ return Result::Error; \
} while (0)
namespace wabt {
@@ -263,7 +263,7 @@ Result BinaryReaderIR::AppendExpr(Expr* expr) {
expr->loc = GetLocation();
LabelNode* label;
- if (WABT_FAILED(TopLabel(&label))) {
+ if (Failed(TopLabel(&label))) {
delete expr;
return Result::Error;
}