Author: olehougaard
Date: Fri Nov 21 05:37:38 2008
New Revision: 821

Modified:
    branches/bleeding_edge/src/contexts.cc

Log:
Removing assert to make flexo happy.

TBR=ager
Review URL: http://codereview.chromium.org/11565

Modified: branches/bleeding_edge/src/contexts.cc
==============================================================================
--- branches/bleeding_edge/src/contexts.cc      (original)
+++ branches/bleeding_edge/src/contexts.cc      Fri Nov 21 05:37:38 2008
@@ -74,14 +74,6 @@
                                 int* index_, PropertyAttributes*  
attributes) {
    Handle<Context> context(this);

-  // The context must be in frame slot 0 (if not debugging).
-  if (kDebug && !Debug::InDebugger()) {
-    StackFrameLocator locator;
-    ASSERT(context->fcontext() ==
-           Context::cast(
-               locator.FindJavaScriptFrame(0)->context())->fcontext());
-  }
-
    bool follow_context_chain = (flags & FOLLOW_CONTEXT_CHAIN) != 0;
    *index_ = -1;
    *attributes = ABSENT;

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

Reply via email to