summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2015-07-23 16:54:02 +0100
committerJose Fonseca <[email protected]>2015-07-23 16:54:02 +0100
commitd6b50ba980b733a82fefe2a0f115635a359c445f (patch)
treec6ef4534295fc69cf68e0849024d0eabb0b1da7d /src/gallium
parentc6267ebd6c8a73d51a0c82d0f516177c70e05c81 (diff)
gallivm: Fix profile build.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
index 0a5c2ccdae3..7283e2f162f 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
@@ -274,7 +274,7 @@ lp_profile(LLVMValueRef func, const void *code)
unsigned long addr = (uintptr_t)code;
llvm::raw_fd_ostream Out(perf_asm_fd, false);
Out << symbol << ":\n";
- unsigned long size = disassemble(code, Out);
+ unsigned long size = disassemble(code);
fprintf(perf_map_file, "%lx %lx %s\n", addr, size, symbol);
fflush(perf_map_file);
}