about summary refs log tree commit diff homepage
path: root/lib/Module/KInstruction.cpp
blob: a32745b8c81f1f8d167de6cda381d9d2c68f95ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//===-- KInstruction.cpp --------------------------------------------------===//
//
//                     The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#include "klee/Internal/Module/KInstruction.h"

using namespace llvm;
using namespace klee;

/***/

KInstruction::~KInstruction() {
  delete[] operands;
}

void KInstruction::printFileLine(llvm::raw_ostream &debugFile) {
  if (info->file != "")
    debugFile << info->file << ":" << info->line;
  else
    debugFile << "[no debug info]";
}