Compare 1st and 2nd items on stack, consuming them in the process, and returning true if they matched, false if they didn't.
| 277 | /// Compare 1st and 2nd items on stack, consuming them in the process, |
| 278 | /// and returning true if they matched, false if they didn't. |
| 279 | U32 compare() |
| 280 | { |
| 281 | // Figure out the 1st and 2nd item offsets. |
| 282 | U32 oldStart = mStart; |
| 283 | mStart = mStartOffsets[--mStartStackSize]; |
| 284 | |
| 285 | // Compare current and previous strings. |
| 286 | U32 ret = !dStricmp(mBuffer + mStart, mBuffer + oldStart); |
| 287 | |
| 288 | // Put an empty string on the top of the stack. |
| 289 | mLen = 0; |
| 290 | mBuffer[mStart] = 0; |
| 291 | |
| 292 | return ret; |
| 293 | } |
| 294 | |
| 295 | void pushFrame() |
| 296 | { |
no test coverage detected