From: yangguo@chromium.org Date: Tue, 1 Oct 2013 07:53:37 +0000 (+0000) Subject: Fixed debuggersupport=off build after r16521 X-Git-Tag: upstream/4.7.83~12240 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=62e4d0671df4fadc7fa98a86a83f31084b3af5b9;p=platform%2Fupstream%2Fv8.git Fixed debuggersupport=off build after r16521 BUG= R=yangguo@chromium.org Review URL: https://codereview.chromium.org/25108007 Patch from Weiliang Lin . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17025 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/d8-debug.cc b/src/d8-debug.cc index 602ae16..379631c 100644 --- a/src/d8-debug.cc +++ b/src/d8-debug.cc @@ -30,8 +30,6 @@ #include "d8.h" #include "d8-debug.h" #include "debug-agent.h" -#include "platform.h" -#include "platform/socket.h" namespace v8 { diff --git a/src/debug.h b/src/debug.h index 2b5f43a..8e71ea6 100644 --- a/src/debug.h +++ b/src/debug.h @@ -38,6 +38,7 @@ #include "frames-inl.h" #include "hashmap.h" #include "platform.h" +#include "platform/socket.h" #include "string-stream.h" #include "v8threads.h" diff --git a/src/objects.h b/src/objects.h index 8a48116..4117c46 100644 --- a/src/objects.h +++ b/src/objects.h @@ -333,7 +333,7 @@ const int kStubMinorKeyBits = kBitsPerInt - kSmiTagSize - kStubMajorKeyBits; // NOTE: Everything following JS_VALUE_TYPE is considered a // JSObject for GC purposes. The first four entries here have typeof // 'object', whereas JS_FUNCTION_TYPE has typeof 'function'. -#define INSTANCE_TYPE_LIST_ALL(V) \ +#define INSTANCE_TYPE_LIST(V) \ V(STRING_TYPE) \ V(ASCII_STRING_TYPE) \ V(CONS_STRING_TYPE) \ @@ -431,18 +431,8 @@ const int kStubMinorKeyBits = kBitsPerInt - kSmiTagSize - kStubMajorKeyBits; \ V(JS_FUNCTION_TYPE) \ V(JS_FUNCTION_PROXY_TYPE) \ - -#ifdef ENABLE_DEBUGGER_SUPPORT -#define INSTANCE_TYPE_LIST_DEBUGGER(V) \ V(DEBUG_INFO_TYPE) \ V(BREAK_POINT_INFO_TYPE) -#else -#define INSTANCE_TYPE_LIST_DEBUGGER(V) -#endif - -#define INSTANCE_TYPE_LIST(V) \ - INSTANCE_TYPE_LIST_ALL(V) \ - INSTANCE_TYPE_LIST_DEBUGGER(V) // Since string types are not consecutive, this macro is used to