From: svenpanne@chromium.org Date: Fri, 25 Apr 2014 11:13:37 +0000 (+0000) Subject: Fix compilation with clang 5.1 on OS X. X-Git-Tag: upstream/4.7.83~9425 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a87b6b6464b7e3e0962980b9e18e9772fd4322fc;p=platform%2Fupstream%2Fv8.git Fix compilation with clang 5.1 on OS X. R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/250873003 Patch from Benedikt Meurer . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20970 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/assembler.cc b/src/assembler.cc index 4b6be9d..c3aee56 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(1) << f; CpuFeatures::cross_compile_ |= mask; + USE(isolate_); } diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc index 308564d..67e41fc 100644 --- a/src/bootstrapper.cc +++ b/src/bootstrapper.cc @@ -2506,6 +2506,7 @@ class NoTrackDoubleFieldsForSerializerScope { // immutable by the serializer. FLAG_track_double_fields = false; } + USE(isolate_); } ~NoTrackDoubleFieldsForSerializerScope() { if (Serializer::enabled()) {