| | 1 | 2008-08-04 Oliver Hunt <oliver@apple.com> |
|---|
| | 2 | |
|---|
| | 3 | Reviewed by Cameron Zwarich. |
|---|
| | 4 | |
|---|
| | 5 | Bug 19359: JavaScriptCore behaves differently from FF2/3 and IE when handling context in catch statement |
|---|
| | 6 | <https://bugs.webkit.org/show_bug.cgi?id=19359> |
|---|
| | 7 | |
|---|
| | 8 | Make our catch behave like Firefox and IE, we do this by using a StaticScopeObject |
|---|
| | 9 | instead of a generic JSObject for the scope node. We still don't make use of the |
|---|
| | 10 | fact that we have a static scope inside the catch block, so the internal performance |
|---|
| | 11 | of the catch block is not improved, even though technically it would be possible to |
|---|
| | 12 | do so. |
|---|
| | 13 | |
|---|
| | 14 | * VM/CodeBlock.cpp: |
|---|
| | 15 | (KJS::CodeBlock::dump): |
|---|
| | 16 | * VM/CodeGenerator.cpp: |
|---|
| | 17 | (KJS::CodeGenerator::emitPushNewScope): |
|---|
| | 18 | * VM/CodeGenerator.h: |
|---|
| | 19 | * VM/Machine.cpp: |
|---|
| | 20 | (KJS::createExceptionScope): |
|---|
| | 21 | (KJS::Machine::privateExecute): |
|---|
| | 22 | * VM/Machine.h: |
|---|
| | 23 | * VM/Opcode.h: |
|---|
| | 24 | * kjs/JSStaticScopeObject.cpp: |
|---|
| | 25 | (KJS::JSStaticScopeObject::toThisObject): |
|---|
| | 26 | (KJS::JSStaticScopeObject::put): |
|---|
| | 27 | * kjs/JSStaticScopeObject.h: |
|---|
| | 28 | * kjs/nodes.cpp: |
|---|
| | 29 | (KJS::TryNode::emitCode): |
|---|
| | 30 | |
|---|
| | 31 | 2008-08-02 Rob Gowin <robg@gowin.net> |
|---|
| | 32 | |
|---|
| | 33 | Reviewed by Eric Seidel. |
|---|
| | 34 | |
|---|
| | 35 | Added JavaScriptCore/API/WebKitAvailability to list of files in |
|---|
| | 36 | javascriptcore_h_api. |
|---|
| | 37 | |
|---|
| | 38 | * GNUmakefile.am: |
|---|
| | 39 | |
|---|
| | 40 | 2008-08-01 Alexey Proskuryakov <ap@webkit.org> |
|---|
| | 41 | |
|---|
| | 42 | Rubber-stamped by Maciej. |
|---|
| | 43 | |
|---|
| | 44 | Remove JSGlobalData::DataInstance. It was only needed when we had per-thread JSGlobalData |
|---|
| | 45 | instances. |
|---|
| | 46 | |
|---|
| | 47 | * kjs/JSGlobalData.h: |
|---|
| | 48 | |
|---|