2007-07-06 23:50:26 +00:00
|
|
|
#ifndef RUN_H
|
|
|
|
#define RUN_H
|
2007-06-20 02:28:31 +00:00
|
|
|
|
|
|
|
#include "system.h"
|
|
|
|
#include "heap.h"
|
2007-06-25 02:02:24 +00:00
|
|
|
#include "class-finder.h"
|
2007-07-07 18:09:16 +00:00
|
|
|
#include "machine.h"
|
2007-06-20 02:28:31 +00:00
|
|
|
|
|
|
|
namespace vm {
|
|
|
|
|
2007-07-24 01:44:20 +00:00
|
|
|
object
|
|
|
|
run(Thread* t, object method, object this_, ...);
|
|
|
|
|
|
|
|
object
|
|
|
|
run2(Thread* t, object method, object this_, object arguments);
|
|
|
|
|
2007-07-07 18:09:16 +00:00
|
|
|
object
|
|
|
|
run(Thread* t, const char* className, const char* methodName,
|
2007-07-16 23:58:37 +00:00
|
|
|
const char* methodSpec, object this_, ...);
|
2007-07-07 18:09:16 +00:00
|
|
|
|
2007-07-16 01:03:02 +00:00
|
|
|
int
|
2007-06-20 02:28:31 +00:00
|
|
|
run(System* sys, Heap* heap, ClassFinder* classFinder,
|
|
|
|
const char* className, int argc, const char** argv);
|
|
|
|
|
2007-07-20 14:36:31 +00:00
|
|
|
} // namespace vm
|
2007-06-20 02:28:31 +00:00
|
|
|
|
2007-07-06 23:50:26 +00:00
|
|
|
#endif//RUN_H
|