[PATCH] Remove getDataLayout() from Instruction/GlobalValue/BasicBlock/Function

Eric Christopher echristo at gmail.com
Tue Mar 3 12:44:59 PST 2015


LGTM with perhaps a comment of "this can crash if parent is null, don't call this without a parent" or something. Up to you on the comment :)

-eric


http://reviews.llvm.org/D8027

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list