8005772: Stubs report compile id -1 in phase events

Use 0 to indicate id is NA, -1 for error or uninitalized

Reviewed-by: kvn, twisti
This commit is contained in:
Nils Eliasson 2013-02-13 10:25:09 +01:00
parent d1b60c9f04
commit bcbdbf9996
2 changed files with 2 additions and 2 deletions

View file

@ -892,7 +892,7 @@ Compile::Compile( ciEnv* ci_env,
: Phase(Compiler),
_env(ci_env),
_log(ci_env->log()),
_compile_id(-1),
_compile_id(0),
_save_argument_registers(save_arg_registers),
_method(NULL),
_stub_name(stub_name),