Reviewers: Kevin Millikin, Description: Change the handling of catch blocks to use context extension objects instead of normal JSObjects.
This ensures that __proto__ and accessors on the Object prototype do not interfere with catch scopes. Also, it fixes the bug that catch variables were not DontDelete (issue 74). Next step is to create special lookup routines for context extension objects and remove the special handling of context extension objects from the general javascript object lookup routines. Please review this at http://codereview.chromium.org/18143 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/ast.h M src/codegen-arm.cc M src/codegen-ia32.cc M src/parser.cc M src/prettyprinter.cc M src/rewriter.cc M src/runtime.h M src/runtime.cc M src/usage-analyzer.cc M test/cctest/test-debug.cc A test/mjsunit/regress/regress-74.js A test/mjsunit/try-catch-extension-object.js --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
