diff options
author | Karl Schimpf <kschimpf@google.com> | 2013-09-06 13:27:38 -0700 |
---|---|---|
committer | Karl Schimpf <kschimpf@google.com> | 2013-09-06 13:27:38 -0700 |
commit | 9b86d1e242fec1dce22eda36b8f2eb3d6f1cc380 (patch) | |
tree | a732249a07bdb6aacd4d783152d8032674a89768 /lib/Bitcode/NaCl/Reader/NaClBitcodeHeader.cpp | |
parent | 38a5426a06d06aa18de1cc332411c04c348b01e4 (diff) |
Clean up vestigial code for constants in PNaCl bitcode files.
* Removes code that is no longer used because global variables are handled
separately.
* Removes CST_CODE_NULL.
* Adds special abbreviations for constant integer 0, replacing
most of what was lost when CST_CODE_NULL is removed.
* Adds abbreviation for floating point constants.
* Removes CST_CODE_AGGREGATE and CST_CODE_DATA, except for reading
old PNaCl version 1 bitcode files.
* Removes call to ParseConstants() in ParseModule() since the module
block no longer contains a constants block (globals are handled
separately).
* Removes getConstantFwdRef() method, since it is no longer needed.
* Remove ConstantPlaceHolder class, since it is no longer needed.
* Remove ResolvedConstants and ResolveConstantForwardRefs()
from the bitcode reader, since it is no longer needed.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3668
R=mseaborn@chromium.org
Review URL: https://codereview.chromium.org/23522024
Diffstat (limited to 'lib/Bitcode/NaCl/Reader/NaClBitcodeHeader.cpp')
0 files changed, 0 insertions, 0 deletions