Scanner / Unicode decoding: use size_t instead of unsigned.
authormarja <marja@chromium.org>
Thu, 5 Feb 2015 07:54:24 +0000 (23:54 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 5 Feb 2015 07:54:34 +0000 (07:54 +0000)
commit0e3b5386aec539599c241bac09a25a8b5d2a4ef5
treec675911f547a05a85d533ef686d31c45e05e1135
parentec42e002da03adb2db968dd5b7453341ddc59a5c
Scanner / Unicode decoding: use size_t instead of unsigned.

size_t is the correct data type for this purpose. Our APIs (in particular
ExternalSourceStream::GetMoreData) are already using it, and there were some
static_casts to convert between them.

This CL doesn't intend to fix all of V8, just the minimal sense-making part
around scanner character streams.

BUG=

Review URL: https://codereview.chromium.org/864273005

Cr-Commit-Position: refs/heads/master@{#26449}
14 files changed:
src/factory.cc
src/heap-snapshot-generator.cc
src/heap/heap.cc
src/objects.cc
src/scanner-character-streams.cc
src/scanner-character-streams.h
src/scanner.h
src/unicode-decoder.cc
src/unicode-decoder.h
src/unicode-inl.h
src/unicode.cc
src/unicode.h
src/utils.h
test/cctest/test-parsing.cc