Lines Matching defs:code
2 // Use of this source code is governed by a BSD-style license that can be
22 // s3: scratch register s4: scratch register 2 used in code-generator-riscv64
23 // s6: roots in Javascript code s7: context register
117 // compatible with int, which has caused code-generation bugs.
129 // code generated for some assembly instructions (because they boil down
130 // to a few constants). If this is a problem, we could change the code
133 // and best performance in optimized code.
159 explicit constexpr Register(int code) : RegisterBase(code) {}
197 explicit constexpr VRegister(int code) : RegisterBase(code) {}
210 return FPURegister::from_code(code());
215 return FPURegister::from_code(code() + 1);
222 DCHECK(base::IsInRange(static_cast<int>(code()), 0, kVRAfterLast - 1));
223 return VRegister(code());
228 explicit constexpr FPURegister(int code) : RegisterBase(code) {}