Reviewers: Sven Panne,

Message:
Committed patchset #1 manually as r16241.

Description:
Visual Studio 2012 and later support the C++11 final keyword.

[email protected]

Committed: https://code.google.com/p/v8/source/detail?r=16241

Please review this at https://codereview.chromium.org/23128007/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/globals.h


Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index 2f78e4fc612c1d1b2a6fcf47ee710ce3a55813d1..96152fe4cdf4fbc1107be617d20288f456416a6a 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -360,10 +360,15 @@ F FUNCTION_CAST(Address addr) {

 #elif defined(_MSC_VER)

+// Override control was added with Visual Studio 2005.
 # if _MSC_VER >= 1400
+#  if _MSC_VER >= 1700
+#   define V8_HAVE_CXX11_FINAL
+#  else
+// Visual Studio 2010 and earlier spell "final" as "sealed".
+#   define V8_HAVE_MSVC_SEALED
+#  endif
 #  define V8_HAVE_CXX11_OVERRIDE
-// MSVC currently spells "final" as "sealed".
-#  define V8_HAVE_MSVC_SEALED
 # endif

 #endif


--
--
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/groups/opt_out.

Reply via email to