mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-04 11:17:31 +00:00
Fix MSVC build.
llvm-svn: 90454
This commit is contained in:
parent
aed28d814f
commit
ea59929634
@ -324,7 +324,7 @@ bool ProfileEstimatorPass::runOnFunction(Function &F) {
|
||||
// Since the entry block is the first one and has no predecessors, the edge
|
||||
// (0,entry) is inserted with the starting weight of 1.
|
||||
BasicBlock *entry = &F.getEntryBlock();
|
||||
BlockInformation[&F][entry] = pow(2,32);
|
||||
BlockInformation[&F][entry] = pow(2.0, 32.0);
|
||||
Edge edge = getEdge(0,entry);
|
||||
EdgeInformation[&F][edge] = BlockInformation[&F][entry];
|
||||
printEdgeWeight(edge);
|
||||
|
Loading…
x
Reference in New Issue
Block a user