annotate graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/nodes/DirectStoreNode.java @ 8436:10293cbfc2b6

wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
author Doug Simon <doug.simon@oracle.com>
date Fri, 22 Mar 2013 11:19:53 +0100
parents 102b5249e97e
children 2ffd472c5d25
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5400
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
1 /*
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
2 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
4 *
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
5 * This code is free software; you can redistribute it and/or modify it
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
6 * under the terms of the GNU General Public License version 2 only, as
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
7 * published by the Free Software Foundation.
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
8 *
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
9 * This code is distributed in the hope that it will be useful, but WITHOUT
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
12 * version 2 for more details (a copy is included in the LICENSE file that
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
13 * accompanied this code).
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
14 *
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License version
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
16 * 2 along with this work; if not, write to the Free Software Foundation,
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
18 *
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
20 * or visit www.oracle.com if you need additional information or have any
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
21 * questions.
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
22 */
8415
2361bf148c06 rename packages: *snippets* -> *replacements*
Doug Simon <doug.simon@oracle.com>
parents: 7861
diff changeset
23 package com.oracle.graal.replacements.nodes;
5400
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
24
8436
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
25 import static com.oracle.graal.graph.UnsafeAccess.*;
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
26
5507
dc71b06d09f8 Moving classes from cri.ri to api.meta.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 5506
diff changeset
27 import com.oracle.graal.api.meta.*;
5400
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
28 import com.oracle.graal.nodes.*;
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
29 import com.oracle.graal.nodes.extended.*;
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
30 import com.oracle.graal.nodes.spi.*;
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
31 import com.oracle.graal.nodes.type.*;
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
32
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
33 /**
7530
5e3d1a68664e applied mx eclipseformat to all Java files
Doug Simon <doug.simon@oracle.com>
parents: 7298
diff changeset
34 * A special purpose store node that differs from {@link UnsafeStoreNode} in that it is not a
5e3d1a68664e applied mx eclipseformat to all Java files
Doug Simon <doug.simon@oracle.com>
parents: 7298
diff changeset
35 * {@link StateSplit} and takes a computed address instead of an object.
5400
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
36 */
6390
1e1c85d9ca7e moved Node classes into com.oracle.graal.hotspot.nodes package
Doug Simon <doug.simon@oracle.com>
parents: 6329
diff changeset
37 public class DirectStoreNode extends FixedWithNextNode implements LIRLowerable {
7530
5e3d1a68664e applied mx eclipseformat to all Java files
Doug Simon <doug.simon@oracle.com>
parents: 7298
diff changeset
38
5400
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
39 @Input private ValueNode address;
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
40 @Input private ValueNode value;
7763
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
41 private final Kind kind;
5400
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
42
7763
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
43 public DirectStoreNode(ValueNode address, ValueNode value, Kind kind) {
5443
141817e206d4 changes to the dependencies and stamp system:
Lukas Stadler <lukas.stadler@jku.at>
parents: 5400
diff changeset
44 super(StampFactory.forVoid());
5400
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
45 this.address = address;
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
46 this.value = value;
7763
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
47 this.kind = kind;
5400
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
48 }
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
49
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
50 @Override
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
51 public void generate(LIRGeneratorTool gen) {
5539
bc647d8b0080 Renaming RiValue => Value.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 5510
diff changeset
52 Value v = gen.operand(value);
7861
c6d003891de0 Get rid of all direct usages of Address outside of backend.
Roland Schatz <roland.schatz@oracle.com>
parents: 7839
diff changeset
53 gen.emitStore(kind, gen.operand(address), 0, Value.ILLEGAL, 0, v, false);
5400
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
54 }
7763
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
55
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
56 /*
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
57 * The kind of the store is provided explicitly in these intrinsics because it is not always
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
58 * possible to determine the kind from the given value during compilation (because stack kinds
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
59 * are used).
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
60 */
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
61
8436
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
62 @SuppressWarnings("unused")
7763
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
63 @NodeIntrinsic
8436
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
64 public static void store(long address, boolean value, @ConstantNodeParameter Kind kind) {
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
65 int b = value ? 1 : 0;
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
66 unsafe.putByte(address, (byte) b);
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
67 }
7763
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
68
8436
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
69 @SuppressWarnings("unused")
7763
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
70 @NodeIntrinsic
8436
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
71 public static void store(long address, byte value, @ConstantNodeParameter Kind kind) {
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
72 unsafe.putByte(address, value);
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
73 }
7763
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
74
8436
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
75 @SuppressWarnings("unused")
7763
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
76 @NodeIntrinsic
8436
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
77 public static void store(long address, short value, @ConstantNodeParameter Kind kind) {
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
78 unsafe.putShort(address, value);
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
79 }
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
80
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
81 @SuppressWarnings("unused")
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
82 @NodeIntrinsic
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
83 public static void store(long address, char value, @ConstantNodeParameter Kind kind) {
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
84 unsafe.putChar(address, value);
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
85 }
7763
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
86
8436
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
87 @SuppressWarnings("unused")
7763
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
88 @NodeIntrinsic
8436
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
89 public static void store(long address, int value, @ConstantNodeParameter Kind kind) {
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
90 unsafe.putInt(address, value);
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
91 }
7763
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
92
8436
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
93 @SuppressWarnings("unused")
7763
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
94 @NodeIntrinsic
8436
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
95 public static void store(long address, long value, @ConstantNodeParameter Kind kind) {
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
96 unsafe.putLong(address, value);
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
97 }
7763
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
98
8436
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
99 @SuppressWarnings("unused")
7763
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
100 @NodeIntrinsic
8436
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
101 public static void store(long address, float value, @ConstantNodeParameter Kind kind) {
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
102 unsafe.putFloat(address, value);
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
103 }
7763
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
104
8436
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
105 @SuppressWarnings("unused")
7763
ebba355f5605 explicitly specify type in DirectStoreNode.store
Lukas Stadler <lukas.stadler@jku.at>
parents: 7530
diff changeset
106 @NodeIntrinsic
8436
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
107 public static void store(long address, double value, @ConstantNodeParameter Kind kind) {
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
108 unsafe.putDouble(address, value);
10293cbfc2b6 wrote implementations for node intrinsics so that they can be interpreted when a method substitution is deoptimized and added unit tests to ensure existing method substitutions can run interpreted
Doug Simon <doug.simon@oracle.com>
parents: 8416
diff changeset
109 }
5400
028c9ce0fc0f added support for -G:+CheckcastCounters in checkcast snippets
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
110 }