Permalink
Browse files

Temporarily turn off automatic register roots until SelectionDAG works.

  • Loading branch information...
1 parent 8ab0094 commit f16ed1c6f5c485ac6e5342dc52b43b0e7d74604b Elliott Slaughter committed with erickt Aug 21, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/CodeGen/GCStrategy.cpp
@@ -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();

0 comments on commit f16ed1c

Please sign in to comment.