| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index ace4aae6142341012de8eb887ae2c3b1afc8b26c..ecc534aeb3cbf270b3e64cd16044533b9bffd37a 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -22,6 +22,7 @@ namespace internal {
|
| #define CODE_STUB_LIST_ALL_PLATFORMS(V) \
|
| /* PlatformCodeStubs */ \
|
| V(ArrayConstructor) \
|
| + V(AtomicsLoad) \
|
| V(BinaryOpICWithAllocationSite) \
|
| V(CallApiCallback) \
|
| V(CallApiGetter) \
|
| @@ -3097,6 +3098,14 @@ class ToObjectStub final : public HydrogenCodeStub {
|
| DEFINE_HYDROGEN_CODE_STUB(ToObject, HydrogenCodeStub);
|
| };
|
|
|
| +class AtomicsLoadStub : public PlatformCodeStub {
|
| + public:
|
| + explicit AtomicsLoadStub(Isolate* isolate) : PlatformCodeStub(isolate) {}
|
| +
|
| + DEFINE_CALL_INTERFACE_DESCRIPTOR(AtomicsLoad);
|
| + DEFINE_PLATFORM_CODE_STUB(AtomicsLoad, PlatformCodeStub);
|
| +};
|
| +
|
| #undef DEFINE_CALL_INTERFACE_DESCRIPTOR
|
| #undef DEFINE_PLATFORM_CODE_STUB
|
| #undef DEFINE_HANDLER_CODE_STUB
|
|
|