Reviewers: rossberg,

Message:
I think we might want to make most use of ENABLE_DEBUGGER_SUPPORT to just a flag
conditional to reduce the chance of breaking this yet again in the future.

Description:
Fix debuggersupport=off build after r17184 and r18149.

[email protected]
BUG=

Please review this at https://codereview.chromium.org/209533002/

SVN Base: http://github.com/v8/v8@master

Affected files (+2, -1 lines):
  M src/d8-debug.h
  M src/full-codegen.cc


Index: src/d8-debug.h
diff --git a/src/d8-debug.h b/src/d8-debug.h
index f7531772631c5c3720750231a5545e0a6577994b..2d4f5e1503a533e302128c01af0e56c7001d481e 100644
--- a/src/d8-debug.h
+++ b/src/d8-debug.h
@@ -31,6 +31,7 @@

 #include "d8.h"
 #include "debug.h"
+#include "platform/socket.h"


 namespace v8 {
Index: src/full-codegen.cc
diff --git a/src/full-codegen.cc b/src/full-codegen.cc
index 2170b8421275710e3c4329e4ed5723b608d058f6..aeec34f3be1b9fa3179f0bbceb0d702f4fa918f0 100644
--- a/src/full-codegen.cc
+++ b/src/full-codegen.cc
@@ -883,7 +883,7 @@ void FullCodeGenerator::SetExpressionPosition(Expression* expr) {
     }
   }
 #else
-  CodeGenerator::RecordPositions(masm_, pos);
+  CodeGenerator::RecordPositions(masm_, expr->position());
 #endif
 }



--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to