Mercurial > hg > truffle
comparison src/share/vm/opto/runtime.cpp @ 6006:0105f367a14c
7160570: Intrinsification support for tracing framework
Reviewed-by: sla, never
author | rbackman |
---|---|
date | Tue, 06 Mar 2012 12:36:59 +0100 |
parents | 7e0e43cf86d6 |
children | 5142b5110214 |
comparison
equal
deleted
inserted
replaced
6005:c263e0e9f14b | 6006:0105f367a14c |
---|---|
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) |