()
| 2568 | } |
| 2569 | |
| 2570 | func (e *compiledLogicalOr) constant() bool { |
| 2571 | if e.left.constant() { |
| 2572 | if v, ex := e.c.evalConst(e.left); ex == nil { |
| 2573 | if v.ToBoolean() { |
| 2574 | return true |
| 2575 | } |
| 2576 | return e.right.constant() |
| 2577 | } else { |
| 2578 | return true |
| 2579 | } |
| 2580 | } |
| 2581 | |
| 2582 | return false |
| 2583 | } |
| 2584 | |
| 2585 | func (e *compiledLogicalOr) emitGetter(putOnStack bool) { |
| 2586 | if e.left.constant() { |