diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2015-04-26 16:43:00 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2015-04-26 16:43:00 +0000 |
commit | 067cae2c86627d2edcf01b918ee601774bc76aeb (patch) | |
tree | 170607d1194943f4eff92e70170da36e06b68a9c /compiler/optimizing/nodes.cc | |
parent | b0bd8915cb257cdaf46ba663c450a6543bca75af (diff) | |
download | art-067cae2c86627d2edcf01b918ee601774bc76aeb.tar.gz art-067cae2c86627d2edcf01b918ee601774bc76aeb.tar.bz2 art-067cae2c86627d2edcf01b918ee601774bc76aeb.zip |
Revert "[optimizing] Replace FP divide by power of 2"
Fails compiling docs.
This reverts commit b0bd8915cb257cdaf46ba663c450a6543bca75af.
Change-Id: I47d32525c83a73118e2163eb58c68bbb7a28bb38
Diffstat (limited to 'compiler/optimizing/nodes.cc')
-rw-r--r-- | compiler/optimizing/nodes.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/compiler/optimizing/nodes.cc b/compiler/optimizing/nodes.cc index 6020196493..5fca4fab22 100644 --- a/compiler/optimizing/nodes.cc +++ b/compiler/optimizing/nodes.cc @@ -343,18 +343,6 @@ HConstant* HGraph::GetConstant(Primitive::Type type, int64_t value) { } } -HFloatConstant* HGraph::GetFloatConstant(float value) { - HFloatConstant *constant = new (arena_) HFloatConstant(value); - InsertConstant(constant); - return constant; -} - -HDoubleConstant* HGraph::GetDoubleConstant(double value) { - HDoubleConstant *constant = new (arena_) HDoubleConstant(value); - InsertConstant(constant); - return constant; -} - void HLoopInformation::Add(HBasicBlock* block) { blocks_.SetBit(block->GetBlockId()); } |