gallivm: Fix profile build.
authorJose Fonseca <jfonseca@vmware.com>
Thu, 23 Jul 2015 15:54:02 +0000 (16:54 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Thu, 23 Jul 2015 15:54:02 +0000 (16:54 +0100)
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp

index 0a5c2ccdae39405d2ebcf16e5669dc00eef493e7..7283e2f162f2895b412cce9eda6d6181923337cf 100644 (file)
@@ -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);
    }