Commit 60ce3708 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Avoid spaces in bjit function names for now

This probably doesn't matter that much since I don't
think the function names get used during execution,
but they get seen by tools/annotate.py
parent d9900861
...@@ -56,7 +56,7 @@ JitCodeBlock::JitCodeBlock(llvm::StringRef name) ...@@ -56,7 +56,7 @@ JitCodeBlock::JitCodeBlock(llvm::StringRef name)
// generate eh frame... // generate eh frame...
frame_manager.writeAndRegister(code.get(), code_size); frame_manager.writeAndRegister(code.get(), code_size);
g.func_addr_registry.registerFunction(("bjit: " + name).str(), code.get(), code_size, NULL); g.func_addr_registry.registerFunction(("bjit_" + name).str(), code.get(), code_size, NULL);
} }
std::unique_ptr<JitFragmentWriter> JitCodeBlock::newFragment(CFGBlock* block, int patch_jump_offset) { std::unique_ptr<JitFragmentWriter> JitCodeBlock::newFragment(CFGBlock* block, int patch_jump_offset) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment