Index: llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp =================================================================== --- llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp +++ llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp @@ -1092,7 +1092,7 @@ TheFunction->eraseFromParent(); if (P.isBinaryOp()) - BinopPrecedence.erase(Proto->getOperatorName()); + BinopPrecedence.erase(P.getOperatorName()); return nullptr; } Index: llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp =================================================================== --- llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp +++ llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp @@ -1092,7 +1092,7 @@ TheFunction->eraseFromParent(); if (P.isBinaryOp()) - BinopPrecedence.erase(Proto->getOperatorName()); + BinopPrecedence.erase(P.getOperatorName()); return nullptr; } Index: llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp =================================================================== --- llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp +++ llvm/trunk/examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp @@ -1092,7 +1092,7 @@ TheFunction->eraseFromParent(); if (P.isBinaryOp()) - BinopPrecedence.erase(Proto->getOperatorName()); + BinopPrecedence.erase(P.getOperatorName()); return nullptr; } Index: llvm/trunk/examples/Kaleidoscope/Chapter6/toy.cpp =================================================================== --- llvm/trunk/examples/Kaleidoscope/Chapter6/toy.cpp +++ llvm/trunk/examples/Kaleidoscope/Chapter6/toy.cpp @@ -932,7 +932,7 @@ TheFunction->eraseFromParent(); if (P.isBinaryOp()) - BinopPrecedence.erase(Proto->getOperatorName()); + BinopPrecedence.erase(P.getOperatorName()); return nullptr; } Index: llvm/trunk/examples/Kaleidoscope/Chapter7/toy.cpp =================================================================== --- llvm/trunk/examples/Kaleidoscope/Chapter7/toy.cpp +++ llvm/trunk/examples/Kaleidoscope/Chapter7/toy.cpp @@ -1099,7 +1099,7 @@ TheFunction->eraseFromParent(); if (P.isBinaryOp()) - BinopPrecedence.erase(Proto->getOperatorName()); + BinopPrecedence.erase(P.getOperatorName()); return nullptr; } Index: llvm/trunk/examples/Kaleidoscope/Chapter8/toy.cpp =================================================================== --- llvm/trunk/examples/Kaleidoscope/Chapter8/toy.cpp +++ llvm/trunk/examples/Kaleidoscope/Chapter8/toy.cpp @@ -1097,7 +1097,7 @@ TheFunction->eraseFromParent(); if (P.isBinaryOp()) - BinopPrecedence.erase(Proto->getOperatorName()); + BinopPrecedence.erase(P.getOperatorName()); return nullptr; }