6990549: Zero and Shark fixes after 6978355 and 6953144

Reviewed-by: twisti
This commit is contained in:
Gary Benson 2010-10-08 02:42:17 -07:00 committed by Christian Thalinger
parent 39d16839d3
commit a10ec19a4d
4 changed files with 7 additions and 8 deletions

View file

@ -1421,7 +1421,7 @@ void nmethod::flush() {
}
#ifdef SHARK
((SharkCompiler *) compiler())->free_compiled_method(instructions_begin());
((SharkCompiler *) compiler())->free_compiled_method(insts_begin());
#endif // SHARK
((CodeBlob*)(this))->flush();