From 1a79fc45df7749156d6a1f9c1bccccd8f02955ef Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Tue, 8 Jan 2008 17:30:55 -0700 Subject: [PATCH] change jump offset asserts to expects --- src/compiler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler.cpp b/src/compiler.cpp index 565186dd7b..7120d13ecd 100644 --- a/src/compiler.cpp +++ b/src/compiler.cpp @@ -1585,7 +1585,7 @@ unconditional(Context* c, unsigned jump, AddressOperand* operand) v = 0; } - assert(c, isInt32(v)); + expect(c, isInt32(v)); c->code.append(jump); c->code.append4(v); @@ -1603,7 +1603,7 @@ conditional(Context* c, unsigned condition, AddressOperand* operand) v = 0; } - assert(c, isInt32(v)); + expect(c, isInt32(v)); c->code.append(0x0f); c->code.append(condition);