| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 * bool at_start, | 107 * bool at_start, |
| 108 * byte* stack_area_base, | 108 * byte* stack_area_base, |
| 109 * bool direct_call) | 109 * bool direct_call) |
| 110 */ | 110 */ |
| 111 | 111 |
| 112 #define __ ACCESS_MASM((&masm_)) | 112 #define __ ACCESS_MASM((&masm_)) |
| 113 | 113 |
| 114 RegExpMacroAssemblerX64::RegExpMacroAssemblerX64( | 114 RegExpMacroAssemblerX64::RegExpMacroAssemblerX64( |
| 115 Mode mode, | 115 Mode mode, |
| 116 int registers_to_save) | 116 int registers_to_save) |
| 117 : masm_(NULL, kRegExpCodeSize), | 117 : masm_(Isolate::Current(), NULL, kRegExpCodeSize), |
| 118 no_root_array_scope_(&masm_), | 118 no_root_array_scope_(&masm_), |
| 119 code_relative_fixup_positions_(4), | 119 code_relative_fixup_positions_(4), |
| 120 mode_(mode), | 120 mode_(mode), |
| 121 num_registers_(registers_to_save), | 121 num_registers_(registers_to_save), |
| 122 num_saved_registers_(registers_to_save), | 122 num_saved_registers_(registers_to_save), |
| 123 entry_label_(), | 123 entry_label_(), |
| 124 start_label_(), | 124 start_label_(), |
| 125 success_label_(), | 125 success_label_(), |
| 126 backtrack_label_(), | 126 backtrack_label_(), |
| 127 exit_label_() { | 127 exit_label_() { |
| (...skipping 1261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1389 } | 1389 } |
| 1390 } | 1390 } |
| 1391 | 1391 |
| 1392 #undef __ | 1392 #undef __ |
| 1393 | 1393 |
| 1394 #endif // V8_INTERPRETED_REGEXP | 1394 #endif // V8_INTERPRETED_REGEXP |
| 1395 | 1395 |
| 1396 }} // namespace v8::internal | 1396 }} // namespace v8::internal |
| 1397 | 1397 |
| 1398 #endif // V8_TARGET_ARCH_X64 | 1398 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |