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

Unified Diff: src/runtime.cc

Issue 27324: Small fixes to allow all-in-one compilation.
Patch Set: Created 11 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/interpreter-irregexp.cc ('k') | src/v8.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index 5f74d722d55ca82d0404fed717efec179ce8516a..a4c3a34c8d3c946579b5df832b847cd70fffac2e 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -84,7 +84,7 @@ namespace v8 { namespace internal {
type name = NumberTo##Type(obj);
// Non-reentrant string buffer for efficient general use in this file.
-static StaticResource<StringInputBuffer> string_input_buffer;
+static StaticResource<StringInputBuffer> runtime_string_input_buffer;
static Object* IllegalOperation() {
@@ -2315,7 +2315,7 @@ static Object* Runtime_URIEscape(Arguments args) {
int escaped_length = 0;
int length = source->length();
{
- Access<StringInputBuffer> buffer(&string_input_buffer);
+ Access<StringInputBuffer> buffer(&runtime_string_input_buffer);
buffer->Reset(source);
while (buffer->has_more()) {
uint16_t character = buffer->GetNext();
@@ -2343,7 +2343,7 @@ static Object* Runtime_URIEscape(Arguments args) {
StringShape dshape(destination);
int dest_position = 0;
- Access<StringInputBuffer> buffer(&string_input_buffer);
+ Access<StringInputBuffer> buffer(&runtime_string_input_buffer);
buffer->Rewind();
while (buffer->has_more()) {
uint16_t chr = buffer->GetNext();
@@ -2579,7 +2579,7 @@ static Object* ConvertCase(Arguments args,
// Convert all characters to upper case, assuming that they will fit
// in the buffer
- Access<StringInputBuffer> buffer(&string_input_buffer);
+ Access<StringInputBuffer> buffer(&runtime_string_input_buffer);
buffer->Reset(s);
unibrow::uchar chars[Converter::kMaxWidth];
int i = 0;
« no previous file with comments | « src/interpreter-irregexp.cc ('k') | src/v8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698