Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: src/unicode.cc

Issue 6685088: Merge isolates to bleeding_edge. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/unicode.h ('k') | src/v8.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1554 matching lines...) Expand 10 before | Expand all | Expand 10 after
1565 kCanonicalizationRangeMultiStrings7, 1565 kCanonicalizationRangeMultiStrings7,
1566 c, 1566 c,
1567 n, 1567 n,
1568 result, 1568 result,
1569 allow_caching_ptr); 1569 allow_caching_ptr);
1570 default: return 0; 1570 default: return 0;
1571 } 1571 }
1572 } 1572 }
1573 1573
1574 1574
1575 uchar UnicodeData::kMaxCodePoint = 65533; 1575 const uchar UnicodeData::kMaxCodePoint = 65533;
1576 1576
1577 int UnicodeData::GetByteCount() { 1577 int UnicodeData::GetByteCount() {
1578 return kUppercaseTable0Size * sizeof(int32_t) // NOLINT 1578 return kUppercaseTable0Size * sizeof(int32_t) // NOLINT
1579 + kUppercaseTable1Size * sizeof(int32_t) // NOLINT 1579 + kUppercaseTable1Size * sizeof(int32_t) // NOLINT
1580 + kUppercaseTable7Size * sizeof(int32_t) // NOLINT 1580 + kUppercaseTable7Size * sizeof(int32_t) // NOLINT
1581 + kLowercaseTable0Size * sizeof(int32_t) // NOLINT 1581 + kLowercaseTable0Size * sizeof(int32_t) // NOLINT
1582 + kLowercaseTable1Size * sizeof(int32_t) // NOLINT 1582 + kLowercaseTable1Size * sizeof(int32_t) // NOLINT
1583 + kLowercaseTable7Size * sizeof(int32_t) // NOLINT 1583 + kLowercaseTable7Size * sizeof(int32_t) // NOLINT
1584 + kLetterTable0Size * sizeof(int32_t) // NOLINT 1584 + kLetterTable0Size * sizeof(int32_t) // NOLINT
1585 + kLetterTable1Size * sizeof(int32_t) // NOLINT 1585 + kLetterTable1Size * sizeof(int32_t) // NOLINT
(...skipping 29 matching lines...) Expand all
1615 + kEcma262CanonicalizeMultiStrings7Size * sizeof(MultiCharacterSpecialCase <1>) // NOLINT 1615 + kEcma262CanonicalizeMultiStrings7Size * sizeof(MultiCharacterSpecialCase <1>) // NOLINT
1616 + kEcma262UnCanonicalizeMultiStrings0Size * sizeof(MultiCharacterSpecialCa se<4>) // NOLINT 1616 + kEcma262UnCanonicalizeMultiStrings0Size * sizeof(MultiCharacterSpecialCa se<4>) // NOLINT
1617 + kEcma262UnCanonicalizeMultiStrings1Size * sizeof(MultiCharacterSpecialCa se<2>) // NOLINT 1617 + kEcma262UnCanonicalizeMultiStrings1Size * sizeof(MultiCharacterSpecialCa se<2>) // NOLINT
1618 + kEcma262UnCanonicalizeMultiStrings7Size * sizeof(MultiCharacterSpecialCa se<2>) // NOLINT 1618 + kEcma262UnCanonicalizeMultiStrings7Size * sizeof(MultiCharacterSpecialCa se<2>) // NOLINT
1619 + kCanonicalizationRangeMultiStrings0Size * sizeof(MultiCharacterSpecialCa se<1>) // NOLINT 1619 + kCanonicalizationRangeMultiStrings0Size * sizeof(MultiCharacterSpecialCa se<1>) // NOLINT
1620 + kCanonicalizationRangeMultiStrings1Size * sizeof(MultiCharacterSpecialCa se<1>) // NOLINT 1620 + kCanonicalizationRangeMultiStrings1Size * sizeof(MultiCharacterSpecialCa se<1>) // NOLINT
1621 + kCanonicalizationRangeMultiStrings7Size * sizeof(MultiCharacterSpecialCa se<1>); // NOLINT 1621 + kCanonicalizationRangeMultiStrings7Size * sizeof(MultiCharacterSpecialCa se<1>); // NOLINT
1622 } 1622 }
1623 1623
1624 } // namespace unicode 1624 } // namespace unicode
OLDNEW
« no previous file with comments | « src/unicode.h ('k') | src/v8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698