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
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);
private:
Handle<Context> context_;
-#if __GNUC_VERSION__ >= 40100 && __GNUC_VERSION__ < 40300
- Handle<Context> dummy_;
-#endif
SaveContext* prev_;
Address c_entry_fp_;
};
# 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