Revert "InstrProf: When reading, copy the data instead of taking a reference. NFC"
authorJustin Bogner <mail@justinbogner.com>
Sat, 20 Jun 2015 01:37:56 +0000 (01:37 +0000)
committerJustin Bogner <mail@justinbogner.com>
Sat, 20 Jun 2015 01:37:56 +0000 (01:37 +0000)
commit9cbe7b76e619ddf4bc0122bb683fb04dfeb7e9af
tree25bea8ffd525db78c9864a772501201f5bd2d70f
parentd1bbb25afe4f12a9e32c275787ae9540584036c9
Revert "InstrProf: When reading, copy the data instead of taking a reference. NFC"

Seems like MSVC doesn't like this:

  InstrProf.h(49) : error C2614: 'llvm::InstrProfRecord' : illegal member initialization: 'Hash' is not a base or member

This reverts r240206.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240208 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ProfileData/InstrProf.h
include/llvm/ProfileData/InstrProfReader.h
lib/ProfileData/InstrProfReader.cpp