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

Unified Diff: BUILD.gn

Issue 1550803006: Convert runtime atomics functions to inline asm (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: update BUILD.gn, add *-inl.h and *.h to gyp as well Created 4 years, 11 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
« no previous file with comments | « no previous file | src/runtime/runtime-atomics.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index b002c676c3085019204e8c1d601e64b925020b40..1f98d15eeba2cdf4233868e9c41a3db621263aef 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1195,6 +1195,7 @@ source_set("v8_base") {
"src/runtime-profiler.h",
"src/runtime/runtime-array.cc",
"src/runtime/runtime-atomics.cc",
+ "src/runtime/runtime-atomics-intrinsics-inl.h",
"src/runtime/runtime-classes.cc",
"src/runtime/runtime-collections.cc",
"src/runtime/runtime-compiler.cc",
@@ -1333,6 +1334,8 @@ source_set("v8_base") {
"src/ic/ia32/stub-cache-ia32.cc",
"src/regexp/ia32/regexp-macro-assembler-ia32.cc",
"src/regexp/ia32/regexp-macro-assembler-ia32.h",
+ "src/runtime/runtime-atomics-ia32-inl.h",
+ "src/runtime/runtime-atomics-x64-inl.h",
]
} else if (v8_target_arch == "x64") {
sources += [
@@ -1355,6 +1358,7 @@ source_set("v8_base") {
"src/ic/x64/stub-cache-x64.cc",
"src/regexp/x64/regexp-macro-assembler-x64.cc",
"src/regexp/x64/regexp-macro-assembler-x64.h",
+ "src/runtime/runtime-atomics-x64-inl.h",
"src/x64/assembler-x64-inl.h",
"src/x64/assembler-x64.cc",
"src/x64/assembler-x64.h",
@@ -1372,6 +1376,12 @@ source_set("v8_base") {
"src/x64/macro-assembler-x64.cc",
"src/x64/macro-assembler-x64.h",
]
+ if (is_win) {
+ sources += [
+ "src/runtime/runtime-atomics-x64.asm",
+ "src/runtime/runtime-atomics-x64.h",
+ ]
+ }
} else if (v8_target_arch == "arm") {
sources += [
"src/arm/assembler-arm-inl.h",
« no previous file with comments | « no previous file | src/runtime/runtime-atomics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698