hotspot/src/share/vm/opto/runtime.cpp
changeset 12377 ae6def2813e0
parent 10987 696ed3367418
child 12985 b8e776b87b52
equal deleted inserted replaced
12376:714c569bbff0 12377:ae6def2813e0
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2012, 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.
   707   const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+2, fields);
   707   const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+2, fields);
   708 
   708 
   709   return TypeFunc::make(domain, range);
   709   return TypeFunc::make(domain, range);
   710 }
   710 }
   711 
   711 
   712 //-------------- currentTimeMillis
   712 //-------------- currentTimeMillis, currentTimeNanos, etc
   713 
   713 
   714 const TypeFunc* OptoRuntime::current_time_millis_Type() {
   714 const TypeFunc* OptoRuntime::void_long_Type() {
   715   // create input type (domain)
   715   // create input type (domain)
   716   const Type **fields = TypeTuple::fields(0);
   716   const Type **fields = TypeTuple::fields(0);
   717   const TypeTuple *domain = TypeTuple::make(TypeFunc::Parms+0, fields);
   717   const TypeTuple *domain = TypeTuple::make(TypeFunc::Parms+0, fields);
   718 
   718 
   719   // create result type (range)
   719   // create result type (range)