Chromium Code Reviews| Index: tools/lto/LTOModule.cpp |
| =================================================================== |
| --- tools/lto/LTOModule.cpp (revision 139262) |
| +++ tools/lto/LTOModule.cpp (working copy) |
| @@ -629,6 +629,10 @@ |
| _target->getTargetFeatureString())); |
| OwningPtr<MCTargetAsmParser> |
| TAP(_target->getTarget().createMCAsmParser(*STI, *Parser.get())); |
| + if (!TAP) { |
|
nlewycky
2011/09/08 00:34:43
No braces.
|
| + return true; |
| + } |
| + |
| Parser->setTargetParser(*TAP); |
| int Res = Parser->Run(false); |
| if (Res) |