From f60defde2252cd300eac7c7b59e27f9bd7bf6828 Mon Sep 17 00:00:00 2001 From: "bmeurer@chromium.org" Date: Wed, 28 Aug 2013 09:40:47 +0000 Subject: [PATCH] Drop unused and undocumented dummy_ from SaveContext. Also remove the obsolte __GNUC_VERSION__ #define. R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/23522003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16385 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/isolate-inl.h | 3 --- src/isolate.h | 3 --- src/platform.h | 7 ------- 3 files changed, 13 deletions(-) diff --git a/src/isolate-inl.h b/src/isolate-inl.h index 9fb16fb..ddb1580 100644 --- a/src/isolate-inl.h +++ b/src/isolate-inl.h @@ -39,9 +39,6 @@ namespace internal { SaveContext::SaveContext(Isolate* isolate) : prev_(isolate->save_context()) { if (isolate->context() != NULL) { context_ = Handle(isolate->context()); -#if __GNUC_VERSION__ >= 40100 && __GNUC_VERSION__ < 40300 - dummy_ = Handle(isolate->context()); -#endif } isolate->set_save_context(this); diff --git a/src/isolate.h b/src/isolate.h index 3d42cad..751f995 100644 --- a/src/isolate.h +++ b/src/isolate.h @@ -1406,9 +1406,6 @@ class SaveContext BASE_EMBEDDED { private: Handle context_; -#if __GNUC_VERSION__ >= 40100 && __GNUC_VERSION__ < 40300 - Handle dummy_; -#endif SaveContext* prev_; Address c_entry_fp_; }; diff --git a/src/platform.h b/src/platform.h index 10a7e2c..3576d83 100644 --- a/src/platform.h +++ b/src/platform.h @@ -58,13 +58,6 @@ int signbit(double x); # 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 -- 2.7.4