[vmkit-commits] [vmkit] r57175 - /vmkit/trunk/include/mvm/JIT.h
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Mon Oct 6 08:44:32 PDT 2008
Author: geoffray
Date: Mon Oct 6 10:44:31 2008
New Revision: 57175
URL: http://llvm.org/viewvc/llvm-project?rev=57175&view=rev
Log:
Forgot this file for r57172.
Modified:
vmkit/trunk/include/mvm/JIT.h
Modified: vmkit/trunk/include/mvm/JIT.h
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/include/mvm/JIT.h?rev=57175&r1=57174&r2=57175&view=diff
==============================================================================
--- vmkit/trunk/include/mvm/JIT.h (original)
+++ vmkit/trunk/include/mvm/JIT.h Mon Oct 6 10:44:31 2008
@@ -27,6 +27,7 @@
#include "mvm/Method.h"
#include "mvm/MvmMemoryManager.h"
#include "mvm/Threads/Locks.h"
+#include "mvm/Threads/Thread.h"
namespace mvm {
@@ -175,6 +176,10 @@
extern uint32 (*llvm_atomic_cmp_swap_i32) ( uint32* ptr, uint32 cmp, uint32 val );
extern uint64 (*llvm_atomic_cmp_swap_i64) ( uint64* ptr, uint64 cmp, uint64 val );
+extern llvm::GlobalVariable* executionEnvironment;
+extern mvm::Thread* (*getExecutionEnvironment)();
+extern void (*setExecutionEnvironment)(mvm::Thread*);
+
// TODO: find what macro for gcc < 4.2
#if 1
#define __sync_bool_compare_and_swap(ptr, cmp, val) \
More information about the vmkit-commits
mailing list