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

Unified Diff: src/jsregexp.cc

Issue 149001: * Fix compile errors on Android. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 6 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 | « no previous file | src/platform.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/jsregexp.cc
===================================================================
--- src/jsregexp.cc (revision 2267)
+++ src/jsregexp.cc (working copy)
@@ -421,7 +421,10 @@
last_match_info->EnsureSize(number_of_capture_registers + kLastMatchOverhead);
bool rc;
- FixedArray* array;
+ // We have to initialize this with something to make gcc happy but we can't
+ // initialize it with its real value until after the GC-causing things are
+ // over.
+ FixedArray* array = NULL;
// Dispatch to the correct RegExp implementation.
Handle<String> original_subject = subject;
« no previous file with comments | « no previous file | src/platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698