equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2015, 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. |
598 |
598 |
599 |
599 |
600 //----------------------------------------------------------------------------- |
600 //----------------------------------------------------------------------------- |
601 const TypeFunc *OptoRuntime::complete_monitor_exit_Type() { |
601 const TypeFunc *OptoRuntime::complete_monitor_exit_Type() { |
602 // create input type (domain) |
602 // create input type (domain) |
603 const Type **fields = TypeTuple::fields(2); |
603 const Type **fields = TypeTuple::fields(3); |
604 fields[TypeFunc::Parms+0] = TypeInstPtr::NOTNULL; // Object to be Locked |
604 fields[TypeFunc::Parms+0] = TypeInstPtr::NOTNULL; // Object to be Locked |
605 fields[TypeFunc::Parms+1] = TypeRawPtr::BOTTOM; // Address of stack location for lock |
605 fields[TypeFunc::Parms+1] = TypeRawPtr::BOTTOM; // Address of stack location for lock - BasicLock |
606 const TypeTuple *domain = TypeTuple::make(TypeFunc::Parms+2,fields); |
606 fields[TypeFunc::Parms+2] = TypeRawPtr::BOTTOM; // Thread pointer (Self) |
|
607 const TypeTuple *domain = TypeTuple::make(TypeFunc::Parms+3,fields); |
607 |
608 |
608 // create result type (range) |
609 // create result type (range) |
609 fields = TypeTuple::fields(0); |
610 fields = TypeTuple::fields(0); |
610 |
611 |
611 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+0,fields); |
612 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+0,fields); |