Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/javaCalls.cpp @ 5765:8d0a6bceb112
fixed result value for (high-level interpreter -> native -> Java transitions)
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Thu, 05 Jul 2012 14:09:53 +0200 |
parents | 120820e30baa |
children | e522a00b91aa |
comparison
equal
deleted
inserted
replaced
5764:66ec0bc36a37 | 5765:8d0a6bceb112 |
---|---|
443 | 443 |
444 #ifdef HIGH_LEVEL_INTERPRETER | 444 #ifdef HIGH_LEVEL_INTERPRETER |
445 if (thread->high_level_interpreter_in_vm() && !method->is_native() && Interpreter::contains(entry_point)) { | 445 if (thread->high_level_interpreter_in_vm() && !method->is_native() && Interpreter::contains(entry_point)) { |
446 assert(nm == NULL || !nm->is_alive(), "otherwise nm should be invoked"); | 446 assert(nm == NULL || !nm->is_alive(), "otherwise nm should be invoked"); |
447 VMToInterpreter::execute(result, m, args, result->get_type(), thread); | 447 VMToInterpreter::execute(result, m, args, result->get_type(), thread); |
448 oop_result_flag = false; // result already holds the correct value | |
448 } else | 449 } else |
449 #endif | 450 #endif |
450 // do call | 451 // do call |
451 { JavaCallWrapper link(method, receiver, result, CHECK); | 452 { JavaCallWrapper link(method, receiver, result, CHECK); |
452 { HandleMark hm(thread); // HandleMark used by HandleMarkCleaner | 453 { HandleMark hm(thread); // HandleMark used by HandleMarkCleaner |