| Index: src/runtime/runtime.h
|
| diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
|
| index b22a36f1cbee986c57bbc73542f0d4ee7a79ad51..81f4afc6b895b0d056bba48e270ead211145746d 100644
|
| --- a/src/runtime/runtime.h
|
| +++ b/src/runtime/runtime.h
|
| @@ -1027,6 +1027,17 @@ namespace internal {
|
| F(LoadLookupSlot, 2, 2) \
|
| F(LoadLookupSlotNoReferenceError, 2, 2)
|
|
|
| +#ifdef V8_JS_ACCESSORS
|
| +#define FOR_EACH_INTRINSIC_DIRECT_PTR_ACCESS(F) \
|
| + F(PtrGetFromInternalField, 2, 1) \
|
| + F(PtrLoadOffset, 2, 1) \
|
| + F(PtrLoadOffsetInt, 2, 1) \
|
| + F(PtrLoadOffsetObj, 1, 1) \
|
| + F(PtrIsNull, 1, 1)
|
| +#else
|
| +#define FOR_EACH_INTRINSIC_DIRECT_PTR_ACCESS(F)
|
| +#endif // V8_JS_ACCESSORS
|
| +
|
|
|
| // Most intrinsics are implemented in the runtime/ directory, but ICs are
|
| // implemented in ic.cc for now.
|
| @@ -1087,7 +1098,8 @@ namespace internal {
|
| FOR_EACH_INTRINSIC_SYMBOL(F) \
|
| FOR_EACH_INTRINSIC_TEST(F) \
|
| FOR_EACH_INTRINSIC_TYPEDARRAY(F) \
|
| - FOR_EACH_INTRINSIC_URI(F)
|
| + FOR_EACH_INTRINSIC_URI(F) \
|
| + FOR_EACH_INTRINSIC_DIRECT_PTR_ACCESS(F)
|
|
|
| // FOR_EACH_INTRINSIC defines the list of all intrinsics, coming in 2 flavors,
|
| // either returning an object or a pair.
|
|
|