Commit f60defde authored by bmeurer@chromium.org's avatar bmeurer@chromium.org

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
parent f23e3049
......@@ -39,9 +39,6 @@ namespace internal {
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);
......
......@@ -1406,9 +1406,6 @@ class SaveContext BASE_EMBEDDED {
private:
Handle<Context> context_;
#if __GNUC_VERSION__ >= 40100 && __GNUC_VERSION__ < 40300
Handle<Context> dummy_;
#endif
SaveContext* prev_;
Address c_entry_fp_;
};
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment