Revision: 4980
Author: lukezarko
Date: Tue Jun 29 11:08:50 2010
Log: [Isolates] Missing file from statics-4
Review URL: http://codereview.chromium.org/2799041
http://code.google.com/p/v8/source/detail?r=4980
Modified:
/branches/experimental/isolates/src/regexp-macro-assembler.h
=======================================
--- /branches/experimental/isolates/src/regexp-macro-assembler.h Mon Apr 19
12:30:11 2010
+++ /branches/experimental/isolates/src/regexp-macro-assembler.h Tue Jun 29
11:08:50 2010
@@ -207,10 +207,10 @@
// Byte map of ASCII characters with a 0xff if the character is a word
// character (digit, letter or underscore) and 0x00 otherwise.
// Used by generated RegExp code.
- static byte word_character_map[128];
+ static const byte word_character_map[128];
static Address word_character_map_address() {
- return &word_character_map[0];
+ return const_cast<Address>(&word_character_map[0]);
}
static Result Execute(Code* code,
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev