| 150 | } |
| 151 | |
| 152 | void PushBack(TValue v) |
| 153 | { |
| 154 | if (v >= kLargeValue) |
| 155 | { |
| 156 | m_bits->WriteAtMost32Bits(kLargeValue, Bits); |
| 157 | m_excepts.push_back({m_count, v}); |
| 158 | } |
| 159 | else |
| 160 | { |
| 161 | ++m_optCount; |
| 162 | m_bits->WriteAtMost32Bits(v, Bits); |
| 163 | } |
| 164 | |
| 165 | ++m_count; |
| 166 | } |
| 167 | |
| 168 | // Pushes a special (undefined) value. |
| 169 | void PushBackUndefined() |