* interp.c (trap): Implement time.

This commit is contained in:
Alexandre Oliva 2001-01-24 13:17:01 +00:00
parent 296bc5686a
commit 554064594b
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-01-24 Alexandre Oliva <aoliva@redhat.com>
* interp.c (trap): Implement time.
2000-10-24 Ben Elliston <bje@redhat.com>
* gencode.c (tab): Delimit strings with commas where applicable.

View File

@ -1102,6 +1102,9 @@ trap (i, regs, memory, maskl, maskw, endianw)
strnswap (regs[5], len);
break;
}
case SYS_time:
regs[0] = get_now ();
break;
default:
abort ();
}