Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: src/code-stubs.h

Issue 1617503003: [Atomics] code stubs for atomic operations (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: smi dcheck Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/code-stubs.h
diff --git a/src/code-stubs.h b/src/code-stubs.h
index 732a58a3cf098c44f0b6a5f3fdaa09aae28e847d..9f456ab3c707de945b0113e17f3ca44d1f286b1e 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) \
@@ -3093,6 +3094,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

Powered by Google App Engine
This is Rietveld 408576698