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

Unified Diff: src/code-factory.cc

Issue 1617503003: [Atomics] code stubs for atomic operations (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: more WIP on using CodeStubAssembler 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-factory.cc
diff --git a/src/code-factory.cc b/src/code-factory.cc
index 56b8aa6e45c218c5867fa44fc3e935add127b097..04fbd22604f802e6f5517f7f6322a95d4013dba1 100644
--- a/src/code-factory.cc
+++ b/src/code-factory.cc
@@ -375,5 +375,11 @@ Callable CodeFactory::InterpreterCEntry(Isolate* isolate, int result_size) {
return Callable(stub.GetCode(), InterpreterCEntryDescriptor(isolate));
}
+
+Callable CodeFactory::AtomicsLoad(Isolate* isolate) {
+ AtomicsLoadStub stub(isolate);
+ return Callable(stub.GetCode(), AtomicsLoadDescriptor(isolate));
+}
+
} // namespace internal
} // namespace v8

Powered by Google App Engine
This is Rietveld 408576698