diff options
| author | Ben Murdoch <benm@google.com> | 2012-04-12 10:51:47 +0100 |
|---|---|---|
| committer | Ben Murdoch <benm@google.com> | 2012-04-16 16:41:38 +0100 |
| commit | 3ef787dbeca8a5fb1086949cda830dccee07bfbd (patch) | |
| tree | 0a22edd97aa148abffdd405c585b22213fccbc82 /src/v8utils.cc | |
| parent | 85b71799222b55eb5dd74ea26efe0c64ab655c8c (diff) | |
| download | android_external_v8-3ef787dbeca8a5fb1086949cda830dccee07bfbd.tar.gz android_external_v8-3ef787dbeca8a5fb1086949cda830dccee07bfbd.tar.bz2 android_external_v8-3ef787dbeca8a5fb1086949cda830dccee07bfbd.zip | |
Merge V8 at 3.9.24.13
Bug: 5688872
Change-Id: Id0aa8d23375030494d3189c31774059c0f5398fc
Diffstat (limited to 'src/v8utils.cc')
| -rw-r--r-- | src/v8utils.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/v8utils.cc b/src/v8utils.cc index bf0e05d0..042a60f0 100644 --- a/src/v8utils.cc +++ b/src/v8utils.cc @@ -316,7 +316,7 @@ bool MemoryMappedExternalResource::EnsureIsAscii(bool abort_if_failed) const { for (const char* p = data_; p < end; p++) { char c = *p; if ((c & 0x80) != 0) { - // Non-ascii detected: + // Non-ASCII detected: is_ascii = false; // Report the error and abort if appropriate: @@ -329,7 +329,7 @@ bool MemoryMappedExternalResource::EnsureIsAscii(bool abort_if_failed) const { c, filename_, line_no, char_no); // Allow for some context up to kNumberOfLeadingContextChars chars - // before the offending non-ascii char to help the user see where + // before the offending non-ASCII char to help the user see where // the offending char is. const int kNumberOfLeadingContextChars = 10; const char* err_context = p - kNumberOfLeadingContextChars; @@ -345,7 +345,7 @@ bool MemoryMappedExternalResource::EnsureIsAscii(bool abort_if_failed) const { OS::Abort(); } - break; // Non-ascii detected. No need to continue scanning. + break; // Non-ASCII detected. No need to continue scanning. } if (c == '\n') { start_of_line = p; |
