| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index 810a2fdd520d26e0d636e97ee470681210f293ac..9a8eaf1dac476c6e5d51b70f7e14c37140f57fd2 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -6121,6 +6121,18 @@ class HObjectAccess FINAL {
|
| SharedFunctionInfo::kOptimizedCodeMapOffset);
|
| }
|
|
|
| + static HObjectAccess ForCompileHint() {
|
| +// Compile hints are stored in the upper half of a pseudo-smi, which for
|
| +// 64-bit means that the representation is an integer.
|
| +#if V8_HOST_ARCH_32_BIT
|
| + Representation repr = Representation::Smi();
|
| +#else
|
| + Representation repr = Representation::Integer32();
|
| +#endif
|
| + return HObjectAccess(kInobject, SharedFunctionInfo::kCompilerHintsOffset,
|
| + repr);
|
| + }
|
| +
|
| static HObjectAccess ForFunctionContextPointer() {
|
| return HObjectAccess(kInobject, JSFunction::kContextOffset);
|
| }
|
|
|