Reviewers: Vitaly,

Message:
This changed after I added the const qualifier.

Description:
[Isolates] Missing file from statics-4


Please review this at http://codereview.chromium.org/2799041/show

SVN Base: http://v8.googlecode.com/svn/branches/experimental/isolates/

Affected files:
  M     src/regexp-macro-assembler.h


Index: src/regexp-macro-assembler.h
===================================================================
--- src/regexp-macro-assembler.h        (revision 4978)
+++ src/regexp-macro-assembler.h        (working copy)
@@ -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

Reply via email to