Reviewers: Mads Ager, Description: Removing assert to make flexo happy.
TBR=ager Please review this at http://codereview.chromium.org/11565 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/contexts.cc Index: src/contexts.cc =================================================================== --- src/contexts.cc (revision 818) +++ src/contexts.cc (working copy) @@ -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 -~----------~----~----~----~------~----~------~--~---
