Skip to content

Commit

Permalink
Check for exceptions in fallback when inlining polymorphic caches.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Aug 14, 2012
1 parent 500436e commit fc10476
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vm/llvm/inline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ namespace rubinius {
ops_.out_args()
};

set_result(ops_.b().CreateCall(execute, call_args, "ic_send"));
Value* res = ops_.b().CreateCall(execute, call_args, "ic_send");
ops_.check_for_exception(res);
set_result(res);
}

ops_.b().CreateBr(merge);
Expand Down

0 comments on commit fc10476

Please sign in to comment.