mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-15 11:18:43 +00:00
Moved x86only tests into stdlib/regression
This commit is contained in:
parent
e4b34a3ec1
commit
eeab48ed33
39 changed files with 10 additions and 59 deletions
|
|
@ -723,6 +723,10 @@ extern int Lhash (void *p) {
|
|||
|
||||
extern int Lcompare (void *p, void *q) {
|
||||
# define COMPARE_AND_RETURN(x,y) do if (x != y) return BOX(x - y); while (0)
|
||||
if (q == 0 || p == 0) {
|
||||
failure ("NULL pointer in Lcompare\n");
|
||||
}
|
||||
|
||||
if (p == q) return BOX(0);
|
||||
|
||||
if (UNBOXED(p)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue