[GB.JIT]
* BUG: Fix LLVM Global Variable Mappings git-svn-id: svn://localhost/gambas/trunk@4847 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
a97ea1d599
commit
e39e385118
3 changed files with 4 additions and 4 deletions
|
@ -874,9 +874,9 @@ struct NopExpression : Expression {
|
|||
memcpy(buf, str, len+1);
|
||||
}
|
||||
|
||||
/*NopExpression(){
|
||||
NopExpression(){
|
||||
buf = "...";
|
||||
}*/
|
||||
}
|
||||
|
||||
void codegen();
|
||||
~NopExpression(){
|
||||
|
|
|
@ -65,7 +65,7 @@ const size_t TYPE_sizeof_memory_tab[16] = { 0, 1, 1, 2, 4, 8, 4, 8, 8, sizeof(vo
|
|||
///DEBUG
|
||||
void print_type(llvm::Value* v);
|
||||
|
||||
static std::set<llvm::StringRef> mappings;
|
||||
static std::set<std::string> mappings;
|
||||
//static std::map<void*, llvm::GlobalVariable*> variable_mappings;
|
||||
|
||||
static llvm::LLVMContext llvm_context;
|
||||
|
|
|
@ -919,7 +919,7 @@ static void JIT_read_statement(){
|
|||
}
|
||||
case C_BREAK:
|
||||
//PC = code+pos;
|
||||
push_statement(new NopExpression(JIF.F_DEBUG_get_current_position()));
|
||||
push_statement(new NopExpression(/*JIF.F_DEBUG_get_current_position()*/));
|
||||
//PC = code;
|
||||
//push_statement(new NopExpression());
|
||||
NEXT
|
||||
|
|
Loading…
Reference in a new issue