Index: src/contexts.cc |
=================================================================== |
--- src/contexts.cc (revision 854) |
+++ 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; |