compiles but doesn't link

This commit is contained in:
Joel Dice 2007-06-17 22:25:42 -06:00
parent 1cb866aac1
commit d595a2fd61
4 changed files with 12 additions and 4 deletions

View File

@ -2,6 +2,7 @@
#define COMMON_H
#include "stdint.h"
#include "stdlib.h"
#include "stdarg.h"
#include "string.h"
#include "stdio.h"

View File

@ -57,11 +57,15 @@ class Stream {
}
uint32_t readFloat() {
#error todo
// todo
read4();
return 0;
}
uint64_t readDouble() {
#error todo
// todo
read8();
return 0;
}
private:

View File

@ -57,7 +57,7 @@ class System {
virtual Status start(Thread*) = 0;
virtual Status make(Monitor**) = 0;
virtual Status open(File**, const char* path, int flags, int mode) = 0;
virtual void NO_RETURN abort() = 0;
virtual void abort() = 0;
};
#endif//SYSTEM_H

View File

@ -134,7 +134,8 @@ class RawMonitorResource {
inline void NO_RETURN
abort(Thread* t)
{
t->vm->sys->abort();
t->vm->sys->abort(); // this should not return
::abort();
}
inline void
@ -1045,6 +1046,8 @@ parseCode(Thread* t, Stream& s, object pool)
s.read2();
s.skip(s.read4());
}
return code;
}
unsigned