Skip to content

Commit

Permalink
Remove debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Phoenix committed Jul 29, 2008
1 parent 27dd827 commit ff648ca
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions vm/llvm.cpp
Expand Up @@ -190,23 +190,10 @@ namespace rubinius {
std::stringstream stream; std::stringstream stream;
stream << "jitfunction_" << operations->size(); stream << "jitfunction_" << operations->size();


TypeSymbolTable& tbl = operations->getTypeSymbolTable();

/*
*/

const Type* task_type = operations->getTypeByName(std::string("struct.rubinius::Task")); const Type* task_type = operations->getTypeByName(std::string("struct.rubinius::Task"));
std::string js("struct.jit_state"); std::string js("struct.jit_state");
const Type* obj_type = operations->getTypeByName(js); const Type* obj_type = operations->getTypeByName(js);


Type* o2 = tbl.lookup(js);
if(!obj_type) {
for(TypeSymbolTable::iterator i = tbl.begin(); i != tbl.end(); i++) {
std::cout << "type: '" << i->first << "'\n";
}
assert(obj_type);
}

Type* stack_type = PointerType::get(obj_type, 0); Type* stack_type = PointerType::get(obj_type, 0);


Function* func = cast<Function>( Function* func = cast<Function>(
Expand Down

0 comments on commit ff648ca

Please sign in to comment.