aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/Optimizer.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2009-10-26 16:38:13 -0700
committerElliott Hughes <enh@google.com>2009-10-27 13:59:26 -0700
commitbfe0f4ba3c0f170520f57c3d8d24954877e9a0b8 (patch)
tree10cbccfc066cfc4f093dc2d3b3c76f03dab28823 /vm/compiler/codegen/Optimizer.h
parent024da70f6b8fc46494278165f73f8baedcbc7b70 (diff)
Remove OSNetworkSystem.sendStream and all use of ErrorCodeException.
Removing OSNetworkSystem.sendStream brings us in line with harmony. I've also rewritten writeSocketImpl to not make a temporary copy of the data it's going to send. The weird code in writeSocketDirectImpl that threw ErrorCodeException turns out to be a very awkward way of returning zero to the only two callers that are paying attention. (Harmony actually calls the equivalent of this code every time it throws SocketException from native code, but these two callers were the only places that checked for the special case.)
Diffstat (limited to 'vm/compiler/codegen/Optimizer.h')
0 files changed, 0 insertions, 0 deletions