Skip to content

Commit

Permalink
Temporarily turn off automatic register roots until SelectionDAG works.
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliott Slaughter authored and erickt committed Sep 30, 2012
1 parent 8ab0094 commit f16ed1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/CodeGen/GCStrategy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,8 @@ void LowerIntrinsics::InsertGCRegisterRoots(Function &F, GCStrategy &S) {

bool LowerIntrinsics::PerformDefaultLowering(Function &F, GCStrategy &S) {
InsertAutomaticGCRoots(F, S);
InsertGCRegisterRoots(F, S);
// FIXME: Turn this back on after fixing gcregroot in SelectionDAG.
//InsertGCRegisterRoots(F, S);

bool LowerWr = !S.customWriteBarrier();
bool LowerRd = !S.customReadBarrier();
Expand Down

0 comments on commit f16ed1c

Please sign in to comment.