Reviewers: Sven Panne,
Message:
Xcode's latest clang is really picky about unused fields.
Description:
Fix compilation with clang 5.1 on OS X.
Please review this at https://codereview.chromium.org/250873003/
SVN Base: [email protected]:v8/v8.git@master
Affected files (+2, -0 lines):
M src/assembler.cc
M src/bootstrapper.cc
Index: src/assembler.cc
diff --git a/src/assembler.cc b/src/assembler.cc
index
148823ce621fb04fcb0af639320ca3d8ecd075db..dfd9ce94ab7e37d0346a75f670ba565114ab1812
100644
--- a/src/assembler.cc
+++ b/src/assembler.cc
@@ -220,6 +220,7 @@ PlatformFeatureScope::PlatformFeatureScope(Isolate*
isolate, CpuFeature f)
ASSERT(Serializer::enabled());
uint64_t mask = static_cast<uint64_t>(1) << f;
CpuFeatures::cross_compile_ |= mask;
+ USE(isolate_);
}
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index
6e2a237c789c3a07b660c05daaa43c61b04bc2b6..daaed0bc2421f3184e80b8fae33b7409d902437a
100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -2512,6 +2512,7 @@ class NoTrackDoubleFieldsForSerializerScope {
// immutable by the serializer.
FLAG_track_double_fields = false;
}
+ USE(isolate_);
}
~NoTrackDoubleFieldsForSerializerScope() {
if (Serializer::enabled()) {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.