| 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 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 #include "mips/assembler-mips.h" | 32 #include "mips/assembler-mips.h" |
| 33 #include "mips/assembler-mips-inl.h" | 33 #include "mips/assembler-mips-inl.h" |
| 34 #include "macro-assembler.h" | 34 #include "macro-assembler.h" |
| 35 #include "code.h" | 35 #include "code.h" |
| 36 #include "mips/macro-assembler-mips.h" | 36 #include "mips/macro-assembler-mips.h" |
| 37 | 37 |
| 38 namespace v8 { | 38 namespace v8 { |
| 39 namespace internal { | 39 namespace internal { |
| 40 | 40 |
| 41 #ifdef V8_INTERPRETED_REGEXP | 41 #ifndef V8_INTERPRETED_REGEXP |
| 42 class RegExpMacroAssemblerMIPS: public RegExpMacroAssembler { | |
| 43 public: | |
| 44 RegExpMacroAssemblerMIPS(); | |
| 45 virtual ~RegExpMacroAssemblerMIPS(); | |
| 46 }; | |
| 47 #else // V8_INTERPRETED_REGEXP | |
| 48 class RegExpMacroAssemblerMIPS: public NativeRegExpMacroAssembler { | 42 class RegExpMacroAssemblerMIPS: public NativeRegExpMacroAssembler { |
| 49 public: | 43 public: |
| 50 RegExpMacroAssemblerMIPS(Mode mode, int registers_to_save, Zone* zone); | 44 RegExpMacroAssemblerMIPS(Mode mode, int registers_to_save, Zone* zone); |
| 51 virtual ~RegExpMacroAssemblerMIPS(); | 45 virtual ~RegExpMacroAssemblerMIPS(); |
| 52 virtual int stack_limit_slack(); | 46 virtual int stack_limit_slack(); |
| 53 virtual void AdvanceCurrentPosition(int by); | 47 virtual void AdvanceCurrentPosition(int by); |
| 54 virtual void AdvanceRegister(int reg, int by); | 48 virtual void AdvanceRegister(int reg, int by); |
| 55 virtual void Backtrack(); | 49 virtual void Backtrack(); |
| 56 virtual void Bind(Label* label); | 50 virtual void Bind(Label* label); |
| 57 virtual void CheckAtStart(Label* on_at_start); | 51 virtual void CheckAtStart(Label* on_at_start); |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 Label stack_overflow_label_; | 251 Label stack_overflow_label_; |
| 258 Label internal_failure_label_; | 252 Label internal_failure_label_; |
| 259 }; | 253 }; |
| 260 | 254 |
| 261 #endif // V8_INTERPRETED_REGEXP | 255 #endif // V8_INTERPRETED_REGEXP |
| 262 | 256 |
| 263 | 257 |
| 264 }} // namespace v8::internal | 258 }} // namespace v8::internal |
| 265 | 259 |
| 266 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ | 260 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |