Small cleanup to Utf8::CalculateValue:
authordeanm@chromium.org <deanm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 13 Jul 2009 11:17:51 +0000 (11:17 +0000)
committerdeanm@chromium.org <deanm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 13 Jul 2009 11:17:51 +0000 (11:17 +0000)
commite9f42cde4666d5221b1e3b600c4d9b47e2af4878
tree161d065b6e96a752b6df0beb8055752e25cc0d9c
parentd067f8903a0bd17c80c04018f84c9fbcbc2a4426
Small cleanup to Utf8::CalculateValue:
  - Don't duplicate kMaxXByteChar constants.
  - Don't compare signed and unsigned integers.

Review URL: http://codereview.chromium.org/155414

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2434 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/unicode.cc