| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 27 matching lines...) Expand all Loading... |
| 38 RegExpMacroAssemblerARM(); | 38 RegExpMacroAssemblerARM(); |
| 39 virtual ~RegExpMacroAssemblerARM(); | 39 virtual ~RegExpMacroAssemblerARM(); |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 #else | 42 #else |
| 43 class RegExpMacroAssemblerARM: public NativeRegExpMacroAssembler { | 43 class RegExpMacroAssemblerARM: public NativeRegExpMacroAssembler { |
| 44 public: | 44 public: |
| 45 RegExpMacroAssemblerARM(Mode mode, int registers_to_save); | 45 RegExpMacroAssemblerARM(Mode mode, int registers_to_save); |
| 46 virtual ~RegExpMacroAssemblerARM(); | 46 virtual ~RegExpMacroAssemblerARM(); |
| 47 virtual int stack_limit_slack(); | 47 virtual int stack_limit_slack(); |
| 48 virtual bool CanReadUnaligned(); | |
| 49 virtual void AdvanceCurrentPosition(int by); | 48 virtual void AdvanceCurrentPosition(int by); |
| 50 virtual void AdvanceRegister(int reg, int by); | 49 virtual void AdvanceRegister(int reg, int by); |
| 51 virtual void Backtrack(); | 50 virtual void Backtrack(); |
| 52 virtual void Bind(Label* label); | 51 virtual void Bind(Label* label); |
| 53 virtual void CheckAtStart(Label* on_at_start); | 52 virtual void CheckAtStart(Label* on_at_start); |
| 54 virtual void CheckCharacter(uint32_t c, Label* on_equal); | 53 virtual void CheckCharacter(uint32_t c, Label* on_equal); |
| 55 virtual void CheckCharacterAfterAnd(uint32_t c, | 54 virtual void CheckCharacterAfterAnd(uint32_t c, |
| 56 uint32_t mask, | 55 uint32_t mask, |
| 57 Label* on_equal); | 56 Label* on_equal); |
| 58 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); | 57 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 Label stack_overflow_label_; | 259 Label stack_overflow_label_; |
| 261 }; | 260 }; |
| 262 | 261 |
| 263 | 262 |
| 264 #endif // V8_NATIVE_REGEXP | 263 #endif // V8_NATIVE_REGEXP |
| 265 | 264 |
| 266 | 265 |
| 267 }} // namespace v8::internal | 266 }} // namespace v8::internal |
| 268 | 267 |
| 269 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ | 268 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |