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

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: remove Context() Created 4 years, 10 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 a63915b4667b5eacc1bd4d842fa4770790c30219..e7e086f89969bab33b4932dc5fed5b5181c75971 100644
--- a/src/code-stubs.h
+++ b/src/code-stubs.h
@@ -23,6 +23,7 @@ namespace internal {
/* PlatformCodeStubs */ \
V(ArgumentsAccess) \
V(ArrayConstructor) \
+ V(AtomicsLoad) \
V(BinaryOpICWithAllocationSite) \
V(CallApiFunction) \
V(CallApiAccessor) \
@@ -2986,6 +2987,15 @@ class StringCompareStub : public PlatformCodeStub {
};
+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
« src/builtins.cc ('K') | « src/code-factory.cc ('k') | src/compiler/code-stub-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698