Commit ef7b56bf authored by ager@chromium.org's avatar ager@chromium.org

Remove unused methods.

Do not force set DEBUG.

R=kasperl@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/7171014

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8287 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 40fa4a76
...@@ -869,18 +869,6 @@ class MarkingVisitor : public ObjectVisitor { ...@@ -869,18 +869,6 @@ class MarkingVisitor : public ObjectVisitor {
StaticMarkingVisitor::VisitPointers(heap_, start, end); StaticMarkingVisitor::VisitPointers(heap_, start, end);
} }
void VisitCodeTarget(Heap* heap, RelocInfo* rinfo) {
StaticMarkingVisitor::VisitCodeTarget(heap, rinfo);
}
void VisitGlobalPropertyCell(Heap* heap, RelocInfo* rinfo) {
StaticMarkingVisitor::VisitGlobalPropertyCell(heap, rinfo);
}
void VisitDebugTarget(Heap* heap, RelocInfo* rinfo) {
StaticMarkingVisitor::VisitDebugTarget(heap, rinfo);
}
private: private:
Heap* heap_; Heap* heap_;
}; };
......
// Copyright 2006-2008 the V8 project authors. All rights reserved. // Copyright 2011 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without // Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are // modification, are permitted provided that the following conditions are
// met: // met:
...@@ -35,13 +35,10 @@ ...@@ -35,13 +35,10 @@
#if defined(GOOGLE3) #if defined(GOOGLE3)
// Google3 special flag handling. // Google3 special flag handling.
#if defined(DEBUG) && defined(NDEBUG) #if defined(DEBUG) && defined(NDEBUG)
// If both are defined in Google3, then we are building an optimized v8 with // V8 only uses DEBUG and whenever it is set we are building a debug
// assertions enabled. // version of V8. We do not use NDEBUG and simply undef it here for
// consistency.
#undef NDEBUG #undef NDEBUG
#elif !defined(DEBUG) && !defined(NDEBUG)
// If neither is defined in Google3, then we are building a debug v8. Mark it
// as such.
#define DEBUG
#endif #endif
#endif // defined(GOOGLE3) #endif // defined(GOOGLE3)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment