8183574: Unify the is_power_of_2 functions

Reviewed-by: kbarrett, redestad
This commit is contained in:
Stefan Karlsson 2020-02-17 10:03:17 +01:00
parent 248b61710e
commit e4b27a48a0
100 changed files with 183 additions and 75 deletions

View file

@ -31,7 +31,7 @@
#include "opto/macro.hpp"
#include "opto/runtime.hpp"
#include "utilities/align.hpp"
#include "utilities/powerOfTwo.hpp"
void PhaseMacroExpand::insert_mem_bar(Node** ctrl, Node** mem, int opcode, Node* precedent) {
MemBarNode* mb = MemBarNode::make(C, opcode, Compile::AliasIdxBot, precedent);