buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2011 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
Elliott Hughes | 11d1b0c | 2012-01-23 16:57:47 -0800 | [diff] [blame] | 17 | namespace art { |
| 18 | |
buzbee | b046e16 | 2012-10-30 15:48:42 -0700 | [diff] [blame] | 19 | /* This file contains target-independent codegen and support. */ |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 20 | |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 21 | /* |
| 22 | * Load an immediate value into a fixed or temp register. Target |
| 23 | * register is clobbered, and marked inUse. |
| 24 | */ |
| 25 | LIR* loadConstant(CompilationUnit* cUnit, int rDest, int value) |
| 26 | { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 27 | if (oatIsTemp(cUnit, rDest)) { |
| 28 | oatClobber(cUnit, rDest); |
| 29 | oatMarkInUse(cUnit, rDest); |
| 30 | } |
| 31 | return loadConstantNoClobber(cUnit, rDest, value); |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 32 | } |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 33 | |
| 34 | /* Load a word at base + displacement. Displacement must be word multiple */ |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 35 | LIR* loadWordDisp(CompilationUnit* cUnit, int rBase, int displacement, |
| 36 | int rDest) |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 37 | { |
buzbee | 408ad16 | 2012-06-06 16:45:18 -0700 | [diff] [blame] | 38 | return loadBaseDisp(cUnit, rBase, displacement, rDest, kWord, |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 39 | INVALID_SREG); |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 40 | } |
| 41 | |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 42 | LIR* storeWordDisp(CompilationUnit* cUnit, int rBase, int displacement, |
| 43 | int rSrc) |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 44 | { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 45 | return storeBaseDisp(cUnit, rBase, displacement, rSrc, kWord); |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 46 | } |
| 47 | |
| 48 | /* |
| 49 | * Load a Dalvik register into a physical register. Take care when |
| 50 | * using this routine, as it doesn't perform any bookkeeping regarding |
| 51 | * register liveness. That is the responsibility of the caller. |
| 52 | */ |
Ian Rogers | ab2b55d | 2012-03-18 00:06:11 -0700 | [diff] [blame] | 53 | void loadValueDirect(CompilationUnit* cUnit, RegLocation rlSrc, int rDest) |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 54 | { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 55 | rlSrc = oatUpdateLoc(cUnit, rlSrc); |
| 56 | if (rlSrc.location == kLocPhysReg) { |
| 57 | opRegCopy(cUnit, rDest, rlSrc.lowReg); |
| 58 | } else { |
| 59 | DCHECK((rlSrc.location == kLocDalvikFrame) || |
| 60 | (rlSrc.location == kLocCompilerTemp)); |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame] | 61 | loadWordDisp(cUnit, targetReg(kSp), oatSRegOffset(cUnit, rlSrc.sRegLow), rDest); |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 62 | } |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 63 | } |
| 64 | |
| 65 | /* |
| 66 | * Similar to loadValueDirect, but clobbers and allocates the target |
| 67 | * register. Should be used when loading to a fixed register (for example, |
| 68 | * loading arguments to an out of line call. |
| 69 | */ |
Ian Rogers | ab2b55d | 2012-03-18 00:06:11 -0700 | [diff] [blame] | 70 | void loadValueDirectFixed(CompilationUnit* cUnit, RegLocation rlSrc, int rDest) |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 71 | { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 72 | oatClobber(cUnit, rDest); |
| 73 | oatMarkInUse(cUnit, rDest); |
| 74 | loadValueDirect(cUnit, rlSrc, rDest); |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 75 | } |
| 76 | |
| 77 | /* |
| 78 | * Load a Dalvik register pair into a physical register[s]. Take care when |
| 79 | * using this routine, as it doesn't perform any bookkeeping regarding |
| 80 | * register liveness. That is the responsibility of the caller. |
| 81 | */ |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 82 | void loadValueDirectWide(CompilationUnit* cUnit, RegLocation rlSrc, int regLo, |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 83 | int regHi) |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 84 | { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 85 | rlSrc = oatUpdateLocWide(cUnit, rlSrc); |
| 86 | if (rlSrc.location == kLocPhysReg) { |
| 87 | opRegCopyWide(cUnit, regLo, regHi, rlSrc.lowReg, rlSrc.highReg); |
| 88 | } else { |
| 89 | DCHECK((rlSrc.location == kLocDalvikFrame) || |
| 90 | (rlSrc.location == kLocCompilerTemp)); |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame] | 91 | loadBaseDispWide(cUnit, targetReg(kSp), oatSRegOffset(cUnit, rlSrc.sRegLow), |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 92 | regLo, regHi, INVALID_SREG); |
| 93 | } |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 94 | } |
| 95 | |
| 96 | /* |
| 97 | * Similar to loadValueDirect, but clobbers and allocates the target |
| 98 | * registers. Should be used when loading to a fixed registers (for example, |
| 99 | * loading arguments to an out of line call. |
| 100 | */ |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 101 | void loadValueDirectWideFixed(CompilationUnit* cUnit, RegLocation rlSrc, |
| 102 | int regLo, int regHi) |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 103 | { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 104 | oatClobber(cUnit, regLo); |
| 105 | oatClobber(cUnit, regHi); |
| 106 | oatMarkInUse(cUnit, regLo); |
| 107 | oatMarkInUse(cUnit, regHi); |
| 108 | loadValueDirectWide(cUnit, rlSrc, regLo, regHi); |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 109 | } |
| 110 | |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 111 | RegLocation loadValue(CompilationUnit* cUnit, RegLocation rlSrc, |
| 112 | RegisterClass opKind) |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 113 | { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 114 | rlSrc = oatEvalLoc(cUnit, rlSrc, opKind, false); |
| 115 | if (rlSrc.location != kLocPhysReg) { |
| 116 | DCHECK((rlSrc.location == kLocDalvikFrame) || |
| 117 | (rlSrc.location == kLocCompilerTemp)); |
| 118 | loadValueDirect(cUnit, rlSrc, rlSrc.lowReg); |
| 119 | rlSrc.location = kLocPhysReg; |
| 120 | oatMarkLive(cUnit, rlSrc.lowReg, rlSrc.sRegLow); |
| 121 | } |
| 122 | return rlSrc; |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 123 | } |
| 124 | |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 125 | void storeValue(CompilationUnit* cUnit, RegLocation rlDest, RegLocation rlSrc) |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 126 | { |
buzbee | 3d66194 | 2012-03-14 17:37:27 -0700 | [diff] [blame] | 127 | #ifndef NDEBUG |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 128 | /* |
| 129 | * Sanity checking - should never try to store to the same |
| 130 | * ssa name during the compilation of a single instruction |
| 131 | * without an intervening oatClobberSReg(). |
| 132 | */ |
| 133 | DCHECK((cUnit->liveSReg == INVALID_SREG) || |
| 134 | (rlDest.sRegLow != cUnit->liveSReg)); |
| 135 | cUnit->liveSReg = rlDest.sRegLow; |
buzbee | 3d66194 | 2012-03-14 17:37:27 -0700 | [diff] [blame] | 136 | #endif |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 137 | LIR* defStart; |
| 138 | LIR* defEnd; |
| 139 | DCHECK(!rlDest.wide); |
| 140 | DCHECK(!rlSrc.wide); |
| 141 | rlSrc = oatUpdateLoc(cUnit, rlSrc); |
| 142 | rlDest = oatUpdateLoc(cUnit, rlDest); |
| 143 | if (rlSrc.location == kLocPhysReg) { |
| 144 | if (oatIsLive(cUnit, rlSrc.lowReg) || |
| 145 | oatIsPromoted(cUnit, rlSrc.lowReg) || |
| 146 | (rlDest.location == kLocPhysReg)) { |
| 147 | // Src is live/promoted or Dest has assigned reg. |
| 148 | rlDest = oatEvalLoc(cUnit, rlDest, kAnyReg, false); |
| 149 | opRegCopy(cUnit, rlDest.lowReg, rlSrc.lowReg); |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 150 | } else { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 151 | // Just re-assign the registers. Dest gets Src's regs |
| 152 | rlDest.lowReg = rlSrc.lowReg; |
| 153 | oatClobber(cUnit, rlSrc.lowReg); |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 154 | } |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 155 | } else { |
| 156 | // Load Src either into promoted Dest or temps allocated for Dest |
| 157 | rlDest = oatEvalLoc(cUnit, rlDest, kAnyReg, false); |
| 158 | loadValueDirect(cUnit, rlSrc, rlDest.lowReg); |
| 159 | } |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 160 | |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 161 | // Dest is now live and dirty (until/if we flush it to home location) |
| 162 | oatMarkLive(cUnit, rlDest.lowReg, rlDest.sRegLow); |
| 163 | oatMarkDirty(cUnit, rlDest); |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 164 | |
| 165 | |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 166 | oatResetDefLoc(cUnit, rlDest); |
| 167 | if (oatIsDirty(cUnit, rlDest.lowReg) && |
| 168 | oatLiveOut(cUnit, rlDest.sRegLow)) { |
| 169 | defStart = (LIR* )cUnit->lastLIRInsn; |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame] | 170 | storeBaseDisp(cUnit, targetReg(kSp), oatSRegOffset(cUnit, rlDest.sRegLow), |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 171 | rlDest.lowReg, kWord); |
| 172 | oatMarkClean(cUnit, rlDest); |
| 173 | defEnd = (LIR* )cUnit->lastLIRInsn; |
| 174 | oatMarkDef(cUnit, rlDest, defStart, defEnd); |
| 175 | } |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 176 | } |
| 177 | |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 178 | RegLocation loadValueWide(CompilationUnit* cUnit, RegLocation rlSrc, |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 179 | RegisterClass opKind) |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 180 | { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 181 | DCHECK(rlSrc.wide); |
| 182 | rlSrc = oatEvalLoc(cUnit, rlSrc, opKind, false); |
| 183 | if (rlSrc.location != kLocPhysReg) { |
| 184 | DCHECK((rlSrc.location == kLocDalvikFrame) || |
| 185 | (rlSrc.location == kLocCompilerTemp)); |
| 186 | loadValueDirectWide(cUnit, rlSrc, rlSrc.lowReg, rlSrc.highReg); |
| 187 | rlSrc.location = kLocPhysReg; |
| 188 | oatMarkLive(cUnit, rlSrc.lowReg, rlSrc.sRegLow); |
| 189 | oatMarkLive(cUnit, rlSrc.highReg, |
| 190 | oatSRegHi(rlSrc.sRegLow)); |
| 191 | } |
| 192 | return rlSrc; |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 193 | } |
| 194 | |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 195 | void storeValueWide(CompilationUnit* cUnit, RegLocation rlDest, |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 196 | RegLocation rlSrc) |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 197 | { |
buzbee | 3d66194 | 2012-03-14 17:37:27 -0700 | [diff] [blame] | 198 | #ifndef NDEBUG |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 199 | /* |
| 200 | * Sanity checking - should never try to store to the same |
| 201 | * ssa name during the compilation of a single instruction |
| 202 | * without an intervening oatClobberSReg(). |
| 203 | */ |
| 204 | DCHECK((cUnit->liveSReg == INVALID_SREG) || |
| 205 | (rlDest.sRegLow != cUnit->liveSReg)); |
| 206 | cUnit->liveSReg = rlDest.sRegLow; |
buzbee | 3d66194 | 2012-03-14 17:37:27 -0700 | [diff] [blame] | 207 | #endif |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 208 | LIR* defStart; |
| 209 | LIR* defEnd; |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame] | 210 | DCHECK_EQ(fpReg(rlSrc.lowReg), fpReg(rlSrc.highReg)); |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 211 | DCHECK(rlDest.wide); |
| 212 | DCHECK(rlSrc.wide); |
| 213 | if (rlSrc.location == kLocPhysReg) { |
| 214 | if (oatIsLive(cUnit, rlSrc.lowReg) || |
| 215 | oatIsLive(cUnit, rlSrc.highReg) || |
| 216 | oatIsPromoted(cUnit, rlSrc.lowReg) || |
| 217 | oatIsPromoted(cUnit, rlSrc.highReg) || |
| 218 | (rlDest.location == kLocPhysReg)) { |
| 219 | // Src is live or promoted or Dest has assigned reg. |
| 220 | rlDest = oatEvalLoc(cUnit, rlDest, kAnyReg, false); |
| 221 | opRegCopyWide(cUnit, rlDest.lowReg, rlDest.highReg, |
| 222 | rlSrc.lowReg, rlSrc.highReg); |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 223 | } else { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 224 | // Just re-assign the registers. Dest gets Src's regs |
| 225 | rlDest.lowReg = rlSrc.lowReg; |
| 226 | rlDest.highReg = rlSrc.highReg; |
| 227 | oatClobber(cUnit, rlSrc.lowReg); |
| 228 | oatClobber(cUnit, rlSrc.highReg); |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 229 | } |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 230 | } else { |
| 231 | // Load Src either into promoted Dest or temps allocated for Dest |
| 232 | rlDest = oatEvalLoc(cUnit, rlDest, kAnyReg, false); |
| 233 | loadValueDirectWide(cUnit, rlSrc, rlDest.lowReg, rlDest.highReg); |
| 234 | } |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 235 | |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 236 | // Dest is now live and dirty (until/if we flush it to home location) |
| 237 | oatMarkLive(cUnit, rlDest.lowReg, rlDest.sRegLow); |
| 238 | oatMarkLive(cUnit, rlDest.highReg, oatSRegHi(rlDest.sRegLow)); |
| 239 | oatMarkDirty(cUnit, rlDest); |
| 240 | oatMarkPair(cUnit, rlDest.lowReg, rlDest.highReg); |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 241 | |
| 242 | |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 243 | oatResetDefLocWide(cUnit, rlDest); |
| 244 | if ((oatIsDirty(cUnit, rlDest.lowReg) || |
| 245 | oatIsDirty(cUnit, rlDest.highReg)) && |
| 246 | (oatLiveOut(cUnit, rlDest.sRegLow) || |
| 247 | oatLiveOut(cUnit, oatSRegHi(rlDest.sRegLow)))) { |
| 248 | defStart = (LIR*)cUnit->lastLIRInsn; |
| 249 | DCHECK_EQ((SRegToVReg(cUnit, rlDest.sRegLow)+1), |
| 250 | SRegToVReg(cUnit, oatSRegHi(rlDest.sRegLow))); |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame] | 251 | storeBaseDispWide(cUnit, targetReg(kSp), oatSRegOffset(cUnit, rlDest.sRegLow), |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 252 | rlDest.lowReg, rlDest.highReg); |
| 253 | oatMarkClean(cUnit, rlDest); |
| 254 | defEnd = (LIR*)cUnit->lastLIRInsn; |
| 255 | oatMarkDefWide(cUnit, rlDest, defStart, defEnd); |
| 256 | } |
buzbee | 67bf885 | 2011-08-17 17:51:35 -0700 | [diff] [blame] | 257 | } |
Elliott Hughes | 11d1b0c | 2012-01-23 16:57:47 -0800 | [diff] [blame] | 258 | |
buzbee | e196567 | 2012-03-11 18:39:19 -0700 | [diff] [blame] | 259 | /* Utilities to load the current Method* */ |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 260 | void loadCurrMethodDirect(CompilationUnit *cUnit, int rTgt) |
| 261 | { |
buzbee | ad8f15e | 2012-06-18 14:49:45 -0700 | [diff] [blame] | 262 | loadValueDirectFixed(cUnit, cUnit->methodLoc, rTgt); |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 263 | } |
| 264 | |
buzbee | e196567 | 2012-03-11 18:39:19 -0700 | [diff] [blame] | 265 | RegLocation loadCurrMethod(CompilationUnit *cUnit) |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 266 | { |
buzbee | ad8f15e | 2012-06-18 14:49:45 -0700 | [diff] [blame] | 267 | return loadValue(cUnit, cUnit->methodLoc, kCoreReg); |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 268 | } |
| 269 | |
buzbee | 9c044ce | 2012-03-18 13:24:07 -0700 | [diff] [blame] | 270 | bool methodStarInReg(CompilationUnit* cUnit) |
| 271 | { |
buzbee | ad8f15e | 2012-06-18 14:49:45 -0700 | [diff] [blame] | 272 | return (cUnit->methodLoc.location == kLocPhysReg); |
buzbee | 9c044ce | 2012-03-18 13:24:07 -0700 | [diff] [blame] | 273 | } |
| 274 | |
buzbee | 31a4a6f | 2012-02-28 15:36:15 -0800 | [diff] [blame] | 275 | |
Elliott Hughes | 11d1b0c | 2012-01-23 16:57:47 -0800 | [diff] [blame] | 276 | } // namespace art |