Backed out changeset 039231fd497f (bug 705856)
authorJustin Lebar <justin.lebar@gmail.com>
Thu, 01 Dec 2011 15:43:18 -0500
changeset 82757 d445f83ecfb1b1cfe5f45519b9db13fa32df0abe
parent 82756 07115fb9184849dc5bed09598c4f327fbfeddc4e
child 82758 828c928eae5b273be4e8f1118121c90a319819e6
push id519
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 00:38:35 +0000
treeherdermozilla-beta@788ea1ef610b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs705856
milestone11.0a1
backs out039231fd497f385c47723d6e0f74645cf165e1c7
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 039231fd497f (bug 705856)
tools/profiler/sps/v8-support.h
--- a/tools/profiler/sps/v8-support.h
+++ b/tools/profiler/sps/v8-support.h
@@ -33,40 +33,10 @@
  * and other provisions required by the GPL or the LGPL. If you do not delete
  * the provisions above, a recipient may use your version of this file under
  * the terms of any one of the MPL, the GPL or the LGPL.
  *
  * ***** END LICENSE BLOCK ***** */
 
 /* This contains stubs and infrastructure to support code from v8 */
 
-#ifndef V8_SUPPORT_H_
-#define V8_SUPPORT_H_
-
-#if defined(_M_X64) || defined(__x86_64__)
-#define V8_HOST_ARCH_X64 1
-#elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
-#define V8_HOST_ARCH_IA32 1
-#elif defined(__ARMEL__)
-#define V8_HOST_ARCH_ARM 1
-#else
-#warning Please add support for your architecture in chromium_types.h
-#endif
-
-const int kMaxInt = 0x7FFFFFFF;
-const int kMinInt = -kMaxInt - 1;
-
-// A macro to disallow the evil copy constructor and operator= functions
-// This should be used in the private: declarations for a class
-#define DISALLOW_COPY_AND_ASSIGN(TypeName)      \
-  TypeName(const TypeName&);                    \
-  void operator=(const TypeName&)
-
-
-// The USE(x) template is used to silence C++ compiler warnings
-// issued for (yet) unused variables (typically parameters).
-template <typename T>
-static inline void USE(T) { }
-
 class Malloced {
 };
-
-#endif // V8_SUPPORT_H_