projects
/
platform
/
upstream
/
v8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9eace97
)
Remove implicit uint8_t to char cast in string replace.
author
yangguo
<yangguo@chromium.org>
Wed, 21 Jan 2015 08:55:05 +0000
(
00:55
-0800)
committer
Commit bot
<commit-bot@chromium.org>
Wed, 21 Jan 2015 08:55:11 +0000
(08:55 +0000)
R=jkummerow@chromium.org
BUG=446196
LOG=Y
Review URL: https://codereview.chromium.org/
864753003
Cr-Commit-Position: refs/heads/master@{#26181}
src/runtime/runtime-regexp.cc
patch
|
blob
|
history
diff --git
a/src/runtime/runtime-regexp.cc
b/src/runtime/runtime-regexp.cc
index
e2cf202
..
64a2d57
100644
(file)
--- a/
src/runtime/runtime-regexp.cc
+++ b/
src/runtime/runtime-regexp.cc
@@
-278,7
+278,7
@@
void CompiledReplacement::Apply(ReplacementStringBuilder* builder,
}
-void FindOneByteStringIndices(Vector<const uint8_t> subject,
char
pattern,
+void FindOneByteStringIndices(Vector<const uint8_t> subject,
uint8_t
pattern,
ZoneList<int>* indices, unsigned int limit,
Zone* zone) {
DCHECK(limit > 0);