/*
* Copyright 2008, 2009 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include "precompiled.hpp"
#include "ci/ciType.hpp"
#include "ci/ciTypeFlow.hpp"
#include "memory/allocation.hpp"
#include "shark/sharkBuilder.hpp"
#include "shark/sharkCacheDecache.hpp"
#include "shark/sharkState.hpp"
#include "shark/sharkTopLevelBlock.hpp"
#include "shark/sharkType.hpp"
#include "shark/sharkValue.hpp"
using namespace llvm;
if (state) {
for (int i = 0; i < max_locals(); i++) {
if (value)
}
if (value)
}
}
}
return false;
return false;
return false;
return false;
return false;
return false;
return false;
// Local variables
for (int i = 0; i < max_locals(); i++) {
if (other_value != NULL)
return false;
}
else {
if (other_value == NULL)
return false;
return false;
}
}
// Expression stack
for (int i = 0; i < stack_depth(); i++) {
if (other_value != NULL)
return false;
}
else {
if (other_value == NULL)
return false;
return false;
}
}
return true;
}
BasicBlock* this_block) {
// Method
if (this_method != other_method) {
}
// Temporary oop slot
if (this_oop_tmp != other_oop_tmp) {
}
// Monitors
// Local variables
for (int i = 0; i < max_locals(); i++) {
if (this_value != NULL) {
}
}
// Expression stack
for (int i = 0; i < stack_depth(); i++) {
if (this_value != NULL) {
}
}
// Safepointed status
}
// Local variables
for (int i = 0; i < max_locals(); i++) {
}
// Expression stack
for (int i = 0; i < stack_depth(); i++) {
}
}
: SharkState(block) {
// Local variables
for (int i = 0; i < max_locals(); i++) {
switch (type->basic_type()) {
case T_INT:
case T_LONG:
case T_FLOAT:
case T_DOUBLE:
case T_OBJECT:
case T_ARRAY:
if (i >= arg_size()) {
}
break;
break;
break;
break;
default:
}
}
}
: SharkState(block) {
// Local variables
for (int i = 0; i < max_locals(); i++) {
switch (type->basic_type()) {
case T_INT:
case T_LONG:
case T_FLOAT:
case T_DOUBLE:
case T_OBJECT:
case T_ARRAY:
break;
break;
break;
break;
default:
}
}
}
// Method
// Local variables
for (int i = 0; i < max_locals(); i++) {
// XXX we could do all kinds of clever stuff here
}
switch (type->basic_type()) {
case T_INT:
case T_LONG:
case T_FLOAT:
case T_DOUBLE:
case T_OBJECT:
case T_ARRAY:
break;
case T_ADDRESS:
break;
break;
break;
default:
}
}
// Expression stack
for (int i = 0; i < block->stack_depth_at_entry(); i++) {
// XXX we could do all kinds of clever stuff here
}
switch (type->basic_type()) {
case T_INT:
case T_LONG:
case T_FLOAT:
case T_DOUBLE:
case T_OBJECT:
case T_ARRAY:
break;
case T_ADDRESS:
break;
break;
default:
}
}
// Monitors
}
// Method
// Local variables
for (int i = 0; i < max_locals(); i++) {
}
// Expression stack
for (int i = 0; i < stack_depth; i++) {
if (stack(i))
}
// Monitors
// Temporary oop slot
}