Permalink
Browse files

Cleanup of unused code

Related to #2036
  • Loading branch information...
dbussink committed Nov 25, 2012
1 parent e33e00a commit 49fd6db11b4bc31530e84cf75898a1b158da2953
Showing with 2 additions and 11 deletions.
  1. +0 −6 vm/llvm/jit_visit.hpp
  2. +1 −4 vm/type_info.hpp
  3. +1 −1 vm/util/bert.hpp
View
@@ -79,10 +79,6 @@ namespace rubinius {
bool allow_private_;
opcode call_flags_;
- // Cached Function*s
- llvm::Function* rbx_simple_send_;
- llvm::Function* rbx_simple_send_private_;
-
// bail out destinations
llvm::BasicBlock* bail_out_;
llvm::BasicBlock* bail_out_fast_;
@@ -123,8 +119,6 @@ namespace rubinius {
, block_map_(bm)
, allow_private_(false)
, call_flags_(0)
- , rbx_simple_send_(0)
- , rbx_simple_send_private_(0)
, method_entry_(info.profiling_entry())
, args_(info.args())
, vars_(info.variables())
View
@@ -17,10 +17,7 @@ namespace rubinius {
class ObjectMemory;
class ObjectHeader;
- class GCTokenImpl {
- private:
- int dummy;
- };
+ class GCTokenImpl {};
typedef GCTokenImpl& GCToken;
View
@@ -895,7 +895,7 @@ namespace bert {
Value* new_dict() {
Term* list = tzr_.next_term();
- if(!list->type() == Term::List) {
+ if(list->type() != Term::List) {
delete list;
return new_invalid();
}

0 comments on commit 49fd6db

Please sign in to comment.