| | 1 | 2008-08-06 Maciej Stachowiak <mjs@apple.com> |
|---|
| | 2 | |
|---|
| | 3 | Reviewed by Cameron. |
|---|
| | 4 | |
|---|
| | 5 | - add fast path for immediates to % operator, as we have for many other math ops |
|---|
| | 6 | |
|---|
| | 7 | This fixes handling for a 0 divisor relative to the last patch. Only an 0.2% speedup on SunSpider but |
|---|
| | 8 | still a 1.4x win on Oliver's prime test. |
|---|
| | 9 | |
|---|
| | 10 | * VM/Machine.cpp: |
|---|
| | 11 | (KJS::Machine::privateExecute): |
|---|
| | 12 | |
|---|
| | 13 | 2008-08-05 Cameron Zwarich <cwzwarich@uwaterloo.ca> |
|---|
| | 14 | |
|---|
| | 15 | Reviewed by Darin. |
|---|
| | 16 | |
|---|
| | 17 | Bug 20293: Crash in JavaScript codegen for eval("const a;") |
|---|
| | 18 | <https://bugs.webkit.org/show_bug.cgi?id=20293> |
|---|
| | 19 | |
|---|
| | 20 | Correctly handle constant declarations in eval code with no initializer. |
|---|
| | 21 | |
|---|
| | 22 | * kjs/nodes.cpp: |
|---|
| | 23 | (KJS::ConstDeclNode::emitCodeSingle): |
|---|
| | 24 | |
|---|
| | 25 | 2008-08-05 Cameron Zwarich <cwzwarich@uwaterloo.ca> |
|---|
| | 26 | |
|---|
| | 27 | Reviewed by Oliver. |
|---|
| | 28 | |
|---|
| | 29 | Roll out r35555 because of correctness issues. |
|---|
| | 30 | |
|---|
| | 31 | * VM/Machine.cpp: |
|---|
| | 32 | (KJS::Machine::privateExecute): |
|---|
| | 33 | |
|---|
| | 34 | 2008-08-05 Maciej Stachowiak <mjs@apple.com> |
|---|
| | 35 | |
|---|
| | 36 | Reviewed by Geoff. |
|---|
| | 37 | |
|---|
| | 38 | - add fast path for immediates to % operator, as we have for many other math ops |
|---|
| | 39 | |
|---|
| | 40 | 0.6% speedup on SunSpider. 1.4x speedup on a prime testing torture test that Oliver whipped up. |
|---|
| | 41 | |
|---|
| | 42 | * VM/Machine.cpp: |
|---|
| | 43 | (KJS::Machine::privateExecute): |
|---|
| | 44 | |
|---|