| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 * the calling code, as in a normal exit frame. | 115 * the calling code, as in a normal exit frame. |
| 116 */ | 116 */ |
| 117 | 117 |
| 118 #define __ ACCESS_MASM(masm_) | 118 #define __ ACCESS_MASM(masm_) |
| 119 | 119 |
| 120 RegExpMacroAssemblerMIPS::RegExpMacroAssemblerMIPS( | 120 RegExpMacroAssemblerMIPS::RegExpMacroAssemblerMIPS( |
| 121 Mode mode, | 121 Mode mode, |
| 122 int registers_to_save, | 122 int registers_to_save, |
| 123 Zone* zone) | 123 Zone* zone) |
| 124 : NativeRegExpMacroAssembler(zone), | 124 : NativeRegExpMacroAssembler(zone), |
| 125 masm_(new MacroAssembler(Isolate::Current(), NULL, kRegExpCodeSize)), | 125 masm_(new MacroAssembler(zone->isolate(), NULL, kRegExpCodeSize)), |
| 126 mode_(mode), | 126 mode_(mode), |
| 127 num_registers_(registers_to_save), | 127 num_registers_(registers_to_save), |
| 128 num_saved_registers_(registers_to_save), | 128 num_saved_registers_(registers_to_save), |
| 129 entry_label_(), | 129 entry_label_(), |
| 130 start_label_(), | 130 start_label_(), |
| 131 success_label_(), | 131 success_label_(), |
| 132 backtrack_label_(), | 132 backtrack_label_(), |
| 133 exit_label_(), | 133 exit_label_(), |
| 134 internal_failure_label_() { | 134 internal_failure_label_() { |
| 135 ASSERT_EQ(0, registers_to_save % 2); | 135 ASSERT_EQ(0, registers_to_save % 2); |
| (...skipping 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1330 } | 1330 } |
| 1331 | 1331 |
| 1332 | 1332 |
| 1333 #undef __ | 1333 #undef __ |
| 1334 | 1334 |
| 1335 #endif // V8_INTERPRETED_REGEXP | 1335 #endif // V8_INTERPRETED_REGEXP |
| 1336 | 1336 |
| 1337 }} // namespace v8::internal | 1337 }} // namespace v8::internal |
| 1338 | 1338 |
| 1339 #endif // V8_TARGET_ARCH_MIPS | 1339 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |