hotspot/src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp
changeset 38031 e0b822facc03
parent 34205 9ec51d30a11e
child 38237 d972e3a2df53
child 38060 954c9575f653
equal deleted inserted replaced
38030:93f24e7b3c43 38031:e0b822facc03
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
  1031 
  1031 
  1032 
  1032 
  1033 void LIRGenerator::do_NewMultiArray(NewMultiArray* x) {
  1033 void LIRGenerator::do_NewMultiArray(NewMultiArray* x) {
  1034   Values* dims = x->dims();
  1034   Values* dims = x->dims();
  1035   int i = dims->length();
  1035   int i = dims->length();
  1036   LIRItemList* items = new LIRItemList(dims->length(), NULL);
  1036   LIRItemList* items = new LIRItemList(i, i, NULL);
  1037   while (i-- > 0) {
  1037   while (i-- > 0) {
  1038     LIRItem* size = new LIRItem(dims->at(i), this);
  1038     LIRItem* size = new LIRItem(dims->at(i), this);
  1039     items->at_put(i, size);
  1039     items->at_put(i, size);
  1040   }
  1040   }
  1041 
  1041