Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Mar 6, 2009
1 parent 5917928 commit 34f9a8b
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/pmc/luatable.pmc
Expand Up @@ -664,24 +664,16 @@ The C<==> operation. Compares reference (not in depth).
if (_le) {
retval = Parrot_runops_fromc_args(INTERP, _le, "PPP",
SELF, value);
r = retval ?
VTABLE_get_bool(INTERP, retval) : (INTVAL)0;
r = retval ? VTABLE_get_bool(INTERP, retval) : (INTVAL)0;

if (r)
return (INTVAL)0;
else
return (INTVAL)1;
return (r) ? (INTVAL)0 : (INTVAL)1;
}
else {
retval = Parrot_runops_fromc_args(INTERP, _lt, "PPP",
value, SELF);
r = retval
? VTABLE_get_bool(INTERP, retval) : (INTVAL)0;
r = retval ? VTABLE_get_bool(INTERP, retval) : (INTVAL)0;

if (r)
return (INTVAL)1;
else
return (INTVAL)0;
return (r) ? (INTVAL)1 : (INTVAL)0;
}
}
}
Expand Down

0 comments on commit 34f9a8b

Please sign in to comment.