Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalCodeInstaller.cpp @ 7093:dff79b1f82f1
removed unnecessary and incorrect initialization of ciEnv._dependencies
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 29 Nov 2012 10:18:32 +0100 |
parents | af30115c9d0e |
children | eec7173947a1 |
comparison
equal
deleted
inserted
replaced
7089:af30115c9d0e | 7093:dff79b1f82f1 |
---|---|
264 } | 264 } |
265 | 265 |
266 void CodeInstaller::initialize_assumptions(oop target_method) { | 266 void CodeInstaller::initialize_assumptions(oop target_method) { |
267 _oop_recorder = new OopRecorder(_env->arena()); | 267 _oop_recorder = new OopRecorder(_env->arena()); |
268 _env->set_oop_recorder(_oop_recorder); | 268 _env->set_oop_recorder(_oop_recorder); |
269 _env->set_dependencies(_dependencies); | |
270 _dependencies = new Dependencies(_env); | 269 _dependencies = new Dependencies(_env); |
271 Handle assumptions_handle = CompilationResult::assumptions(HotSpotCompilationResult::comp(target_method)); | 270 Handle assumptions_handle = CompilationResult::assumptions(HotSpotCompilationResult::comp(target_method)); |
272 if (!assumptions_handle.is_null()) { | 271 if (!assumptions_handle.is_null()) { |
273 objArrayHandle assumptions(Thread::current(), (objArrayOop)Assumptions::list(assumptions_handle())); | 272 objArrayHandle assumptions(Thread::current(), (objArrayOop)Assumptions::list(assumptions_handle())); |
274 int length = assumptions->length(); | 273 int length = assumptions->length(); |