Revision: 16385
Author:   [email protected]
Date:     Wed Aug 28 09:40:47 2013 UTC
Log:      Drop unused and undocumented dummy_ from SaveContext.

Also remove the obsolte __GNUC_VERSION__ #define.

[email protected]

Review URL: https://codereview.chromium.org/23522003
http://code.google.com/p/v8/source/detail?r=16385

Modified:
 /branches/bleeding_edge/src/isolate-inl.h
 /branches/bleeding_edge/src/isolate.h
 /branches/bleeding_edge/src/platform.h

=======================================
--- /branches/bleeding_edge/src/isolate-inl.h   Mon Jul 29 12:12:39 2013 UTC
+++ /branches/bleeding_edge/src/isolate-inl.h   Wed Aug 28 09:40:47 2013 UTC
@@ -39,9 +39,6 @@
SaveContext::SaveContext(Isolate* isolate) : prev_(isolate->save_context()) {
   if (isolate->context() != NULL) {
     context_ = Handle<Context>(isolate->context());
-#if __GNUC_VERSION__ >= 40100 && __GNUC_VERSION__ < 40300
-    dummy_ = Handle<Context>(isolate->context());
-#endif
   }
   isolate->set_save_context(this);

=======================================
--- /branches/bleeding_edge/src/isolate.h       Wed Aug 28 07:11:37 2013 UTC
+++ /branches/bleeding_edge/src/isolate.h       Wed Aug 28 09:40:47 2013 UTC
@@ -1406,9 +1406,6 @@

  private:
   Handle<Context> context_;
-#if __GNUC_VERSION__ >= 40100 && __GNUC_VERSION__ < 40300
-  Handle<Context> dummy_;
-#endif
   SaveContext* prev_;
   Address c_entry_fp_;
 };
=======================================
--- /branches/bleeding_edge/src/platform.h      Wed Aug 28 08:35:04 2013 UTC
+++ /branches/bleeding_edge/src/platform.h      Wed Aug 28 09:40:47 2013 UTC
@@ -58,13 +58,6 @@
 # endif
 #endif

-// GCC specific stuff
-#ifdef __GNUC__
-
-#define __GNUC_VERSION__ (__GNUC__ * 10000 + __GNUC_MINOR__ * 100)
-
-#endif  // __GNUC__
-
 // Microsoft Visual C++ specific stuff.
 #if V8_CC_MSVC

--
--
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