Fix crash when printing instructions that have a metadata attached but no parent.
[oota-llvm.git] / lib / IR / GVMaterializer.cpp
1 //===-- GVMaterializer.cpp - Base implementation for GV materializers -----===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // Minimal implementation of the abstract interface for materializing
11 // GlobalValues.
12 //
13 //===----------------------------------------------------------------------===//
14
15 #include "llvm/IR/GVMaterializer.h"
16 using namespace llvm;
17
18 GVMaterializer::~GVMaterializer() {}