Mercurial > hg > graal-compiler
diff src/share/vm/compiler/disassembler.hpp @ 6782:5a98bf7d847b
6879063: SA should use hsdis for disassembly
Summary: We should in SA to use hsdis for it like the JVM does to replace the current java based disassembler.
Reviewed-by: twisti, jrose, sla
Contributed-by: yumin.qi@oracle.com
author | minqi |
---|---|
date | Mon, 24 Sep 2012 12:44:00 -0700 |
parents | f08d439fab8c |
children | f2e12eb74117 |
line wrap: on
line diff
--- a/src/share/vm/compiler/disassembler.hpp Thu Sep 20 03:49:15 2012 -0700 +++ b/src/share/vm/compiler/disassembler.hpp Mon Sep 24 12:44:00 2012 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -48,7 +48,8 @@ friend class decode_env; private: // this is the type of the dll entry point: - typedef void* (*decode_func)(void* start, void* end, + typedef void* (*decode_func)(uintptr_t start_va, uintptr_t end_va, + unsigned char* buffer, uintptr_t length, void* (*event_callback)(void*, const char*, void*), void* event_stream, int (*printf_callback)(void*, const char*, ...),