Author: [email protected]
Date: Wed May 13 00:11:48 2009
New Revision: 1927

Modified:
    trunk/src/runtime.h
    trunk/src/version.cc

Log:
Push bleeding_edge revision 1926 to trunk.  The only change is
splitting a large macro into two parts so that MSVC Intellisense can
handle it.

Modified: trunk/src/runtime.h
==============================================================================
--- trunk/src/runtime.h (original)
+++ trunk/src/runtime.h Wed May 13 00:11:48 2009
@@ -37,7 +37,10 @@
  // release and debug mode.
  // This macro should only be used by the macro RUNTIME_FUNCTION_LIST.

-#define RUNTIME_FUNCTION_LIST_ALWAYS(F) \
+// WARNING: RUNTIME_FUNCTION_LIST_ALWAYS_* is a very large macro that  
caused
+// MSVC Intellisense to crash.  It was broken into two macros to work  
around
+// this problem. Please avoid large recursive macros whenever possible.
+#define RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \
    /* Property access */ \
    F(GetProperty, 2) \
    F(KeyedGetProperty, 2) \
@@ -153,8 +156,9 @@
    F(NumberToRadixString, 2) \
    F(NumberToFixed, 2) \
    F(NumberToExponential, 2) \
-  F(NumberToPrecision, 2) \
-  \
+  F(NumberToPrecision, 2)
+
+#define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \
    /* Reflection */ \
    F(FunctionSetInstanceClassName, 2) \
    F(FunctionSetLength, 2) \
@@ -320,7 +324,8 @@
  // via a native call by name (from within JS code).

  #define RUNTIME_FUNCTION_LIST(F) \
-  RUNTIME_FUNCTION_LIST_ALWAYS(F) \
+  RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \
+  RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \
    RUNTIME_FUNCTION_LIST_DEBUG(F) \
    RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F)


Modified: trunk/src/version.cc
==============================================================================
--- trunk/src/version.cc        (original)
+++ trunk/src/version.cc        Wed May 13 00:11:48 2009
@@ -35,7 +35,7 @@
  #define MAJOR_VERSION     1
  #define MINOR_VERSION     2
  #define BUILD_NUMBER      3
-#define PATCH_LEVEL       1
+#define PATCH_LEVEL       2
  #define CANDIDATE_VERSION false

  // Define SONAME to have the SCons build the put a specific SONAME into the

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to