| OLD | NEW | 
|     1 // Copyright 2008-2009 the V8 project authors. All rights reserved. |     1 // Copyright 2008-2009 the V8 project authors. All rights reserved. | 
|     2 // Redistribution and use in source and binary forms, with or without |     2 // Redistribution and use in source and binary forms, with or without | 
|     3 // modification, are permitted provided that the following conditions are |     3 // modification, are permitted provided that the following conditions are | 
|     4 // met: |     4 // met: | 
|     5 // |     5 // | 
|     6 //     * Redistributions of source code must retain the above copyright |     6 //     * Redistributions of source code must retain the above copyright | 
|     7 //       notice, this list of conditions and the following disclaimer. |     7 //       notice, this list of conditions and the following disclaimer. | 
|     8 //     * Redistributions in binary form must reproduce the above |     8 //     * Redistributions in binary form must reproduce the above | 
|     9 //       copyright notice, this list of conditions and the following |     9 //       copyright notice, this list of conditions and the following | 
|    10 //       disclaimer in the documentation and/or other materials provided |    10 //       disclaimer in the documentation and/or other materials provided | 
| (...skipping 20 matching lines...) Expand all  Loading... | 
|    31 #include "ast.h" |    31 #include "ast.h" | 
|    32 #include "regexp-stack.h" |    32 #include "regexp-stack.h" | 
|    33 #include "macro-assembler.h" |    33 #include "macro-assembler.h" | 
|    34 #include "regexp-macro-assembler.h" |    34 #include "regexp-macro-assembler.h" | 
|    35 #include "ia32/macro-assembler-ia32.h" |    35 #include "ia32/macro-assembler-ia32.h" | 
|    36 #include "ia32/regexp-macro-assembler-ia32.h" |    36 #include "ia32/regexp-macro-assembler-ia32.h" | 
|    37  |    37  | 
|    38 namespace v8 { |    38 namespace v8 { | 
|    39 namespace internal { |    39 namespace internal { | 
|    40  |    40  | 
|    41 #ifdef V8_NATIVE_REGEXP |    41 #ifndef V8_INTERPRETED_REGEXP | 
|    42 /* |    42 /* | 
|    43  * This assembler uses the following register assignment convention |    43  * This assembler uses the following register assignment convention | 
|    44  * - edx : current character. Must be loaded using LoadCurrentCharacter |    44  * - edx : current character. Must be loaded using LoadCurrentCharacter | 
|    45  *         before using any of the dispatch methods. |    45  *         before using any of the dispatch methods. | 
|    46  * - edi : current position in input, as negative offset from end of string. |    46  * - edi : current position in input, as negative offset from end of string. | 
|    47  *         Please notice that this is the byte offset, not the character offset! |    47  *         Please notice that this is the byte offset, not the character offset! | 
|    48  * - esi : end of input (points to byte after last character in input). |    48  * - esi : end of input (points to byte after last character in input). | 
|    49  * - ebp : frame pointer. Used to access arguments, local variables and |    49  * - ebp : frame pointer. Used to access arguments, local variables and | 
|    50  *         RegExp registers. |    50  *         RegExp registers. | 
|    51  * - esp : points to tip of C stack. |    51  * - esp : points to tip of C stack. | 
| (...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1188       ASSERT(characters == 1); |  1188       ASSERT(characters == 1); | 
|  1189       __ movzx_w(current_character(), |  1189       __ movzx_w(current_character(), | 
|  1190                  Operand(esi, edi, times_1, cp_offset * sizeof(uc16))); |  1190                  Operand(esi, edi, times_1, cp_offset * sizeof(uc16))); | 
|  1191     } |  1191     } | 
|  1192   } |  1192   } | 
|  1193 } |  1193 } | 
|  1194  |  1194  | 
|  1195  |  1195  | 
|  1196 #undef __ |  1196 #undef __ | 
|  1197  |  1197  | 
|  1198 #endif  // V8_NATIVE_REGEXP |  1198 #endif  // V8_INTERPRETED_REGEXP | 
|  1199  |  1199  | 
|  1200 }}  // namespace v8::internal |  1200 }}  // namespace v8::internal | 
| OLD | NEW |