diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-03 00:32:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-03 00:32:55 +0000 |
commit | af1563fb62ed76f4818ac172ab1c6cf15fa35a82 (patch) | |
tree | f93013e5cf1e94a354496c46e17b28dc31b8900b /include/llvm/CodeGen/MachineCodeEmitter.h | |
parent | 23118b649e15774024e4d81566a16454a91c8e9a (diff) | |
download | llvm-af1563fb62ed76f4818ac172ab1c6cf15fa35a82.tar.gz llvm-af1563fb62ed76f4818ac172ab1c6cf15fa35a82.tar.bz2 llvm-af1563fb62ed76f4818ac172ab1c6cf15fa35a82.tar.xz |
Change the BasicBlockAddrs map to be a vector, indexed by MBB number.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28069 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineCodeEmitter.h')
-rw-r--r-- | include/llvm/CodeGen/MachineCodeEmitter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/MachineCodeEmitter.h b/include/llvm/CodeGen/MachineCodeEmitter.h index f63d6ed0f4..f05375fc5f 100644 --- a/include/llvm/CodeGen/MachineCodeEmitter.h +++ b/include/llvm/CodeGen/MachineCodeEmitter.h @@ -18,7 +18,7 @@ #define LLVM_CODEGEN_MACHINECODEEMITTER_H #include "llvm/Support/DataTypes.h" -#include <map> +#include <vector> namespace llvm { @@ -76,10 +76,10 @@ public: /// emitJumpTableInfo - This callback is invoked to output the jump tables /// for the function. In addition to a pointer to the MachineJumpTableInfo, - /// this function also takes a map of MBBs to addresses, so that the final + /// this function also takes a map of MBB IDs to addresses, so that the final /// addresses of the MBBs can be written to the jump tables. virtual void emitJumpTableInfo(MachineJumpTableInfo *MJTI, - std::map<MachineBasicBlock*,uint64_t> &MBBM) = 0; + std::vector<uint64_t> &MBBM) = 0; /// startFunctionStub - This callback is invoked when the JIT needs the /// address of a function that has not been code generated yet. The StubSize |