summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/JavaScriptCore/assembler/MacroAssemblerCodeRef.h
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-11-16 11:36:48 (GMT)
committerJoão Abecasis <joao@abecasis.name>2009-11-17 13:00:37 (GMT)
commit6f5fb0be85b1d7cc9f93b615b5034c882e946301 (patch)
treeb18d08550ce8a5b39fb20e3b3ea91afcb45ad3af /src/3rdparty/webkit/JavaScriptCore/assembler/MacroAssemblerCodeRef.h
parent1e6180c1de906864d2d6d73a9e18ed67574d4ed8 (diff)
downloadQt-6f5fb0be85b1d7cc9f93b615b5034c882e946301.zip
Qt-6f5fb0be85b1d7cc9f93b615b5034c882e946301.tar.gz
Qt-6f5fb0be85b1d7cc9f93b615b5034c882e946301.tar.bz2
There should only be one write buffer at a time in QFile
To be sure, we should explicitly use the size of that buffer and not the whole QRingBuffer when flushing the data. With this change, we make violations of the one-buffer-rule explicitly fail on flush(), but we avoid corrupting data and reading past the buffer's end. Reviewed-by: Markus Goetz
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore/assembler/MacroAssemblerCodeRef.h')
0 files changed, 0 insertions, 0 deletions