mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix MSVC build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90454 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8c30abec6d
commit
88a91b579b
@ -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…
Reference in New Issue
Block a user