src/share/vm/classfile/stackMapFrame.cpp

changeset 6960
b2daaf70fab2
parent 3992
4ee06e614636
child 7241
8cb56c8cb30d
     1.1 --- a/src/share/vm/classfile/stackMapFrame.cpp	Tue Jul 29 13:40:58 2014 -0700
     1.2 +++ b/src/share/vm/classfile/stackMapFrame.cpp	Tue Aug 05 09:11:35 2014 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -54,21 +54,6 @@
    1.11    return frame;
    1.12  }
    1.13  
    1.14 -bool StackMapFrame::has_new_object() const {
    1.15 -  int32_t i;
    1.16 -  for (i = 0; i < _max_locals; i++) {
    1.17 -    if (_locals[i].is_uninitialized()) {
    1.18 -      return true;
    1.19 -    }
    1.20 -  }
    1.21 -  for (i = 0; i < _stack_size; i++) {
    1.22 -    if (_stack[i].is_uninitialized()) {
    1.23 -      return true;
    1.24 -    }
    1.25 -  }
    1.26 -  return false;
    1.27 -}
    1.28 -
    1.29  void StackMapFrame::initialize_object(
    1.30      VerificationType old_object, VerificationType new_object) {
    1.31    int32_t i;

mercurial