commit | ab8242ca447f71bf2a594d26b7b71763fe71df8e | [log] [tgz] |
---|---|---|
author | Jim Stichnoth <stichnot@chromium.org> | Thu Jun 05 08:06:12 2014 -0700 |
committer | Jim Stichnoth <stichnot@chromium.org> | Thu Jun 05 08:06:12 2014 -0700 |
tree | 78fb43e7532b6d9a755d30a539fd9571133e2d18 | |
parent | d97c7df5a3c94fc0d1ad42acbf79756f15682919 [diff] |
Fix a C++ violation. Ice::Inst::NumberSentinel is defined within the Inst class definition: class Inst { ... static const InstNumberT NumberDeleted = -1; static const InstNumberT NumberSentinel = 0; ... }; Under some compilers/options, this causes a link error when passing NumberSentinel as a const T& argument. (Another option would be to move the actual definitions into IceInst.cpp.) BUG= none R=jfb@chromium.org Review URL: https://codereview.chromium.org/311243006