Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: src/arm/regexp-macro-assembler-arm.h

Issue 6123007: Fixes needed to compile on gcc-4.4.1 on ARM. It is still necessary... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/arm/regexp-macro-assembler-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 void AdvanceCurrentPosition(int by); 48 virtual void AdvanceCurrentPosition(int by);
49 virtual void AdvanceRegister(int reg, int by); 49 virtual void AdvanceRegister(int reg, int by);
50 virtual void Backtrack(); 50 virtual void Backtrack();
51 virtual void Bind(Label* label); 51 virtual void Bind(Label* label);
52 virtual void CheckAtStart(Label* on_at_start); 52 virtual void CheckAtStart(Label* on_at_start);
53 virtual void CheckCharacter(uint32_t c, Label* on_equal); 53 virtual void CheckCharacter(unsigned c, Label* on_equal);
54 virtual void CheckCharacterAfterAnd(uint32_t c, 54 virtual void CheckCharacterAfterAnd(unsigned c,
55 uint32_t mask, 55 unsigned mask,
56 Label* on_equal); 56 Label* on_equal);
57 virtual void CheckCharacterGT(uc16 limit, Label* on_greater); 57 virtual void CheckCharacterGT(uc16 limit, Label* on_greater);
58 virtual void CheckCharacterLT(uc16 limit, Label* on_less); 58 virtual void CheckCharacterLT(uc16 limit, Label* on_less);
59 virtual void CheckCharacters(Vector<const uc16> str, 59 virtual void CheckCharacters(Vector<const uc16> str,
60 int cp_offset, 60 int cp_offset,
61 Label* on_failure, 61 Label* on_failure,
62 bool check_end_of_string); 62 bool check_end_of_string);
63 // A "greedy loop" is a loop that is both greedy and with a simple 63 // A "greedy loop" is a loop that is both greedy and with a simple
64 // body. It has a particularly simple implementation. 64 // body. It has a particularly simple implementation.
65 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position); 65 virtual void CheckGreedyLoop(Label* on_tos_equals_current_position);
66 virtual void CheckNotAtStart(Label* on_not_at_start); 66 virtual void CheckNotAtStart(Label* on_not_at_start);
67 virtual void CheckNotBackReference(int start_reg, Label* on_no_match); 67 virtual void CheckNotBackReference(int start_reg, Label* on_no_match);
68 virtual void CheckNotBackReferenceIgnoreCase(int start_reg, 68 virtual void CheckNotBackReferenceIgnoreCase(int start_reg,
69 Label* on_no_match); 69 Label* on_no_match);
70 virtual void CheckNotRegistersEqual(int reg1, int reg2, Label* on_not_equal); 70 virtual void CheckNotRegistersEqual(int reg1, int reg2, Label* on_not_equal);
71 virtual void CheckNotCharacter(uint32_t c, Label* on_not_equal); 71 virtual void CheckNotCharacter(unsigned c, Label* on_not_equal);
72 virtual void CheckNotCharacterAfterAnd(uint32_t c, 72 virtual void CheckNotCharacterAfterAnd(unsigned c,
73 uint32_t mask, 73 unsigned mask,
74 Label* on_not_equal); 74 Label* on_not_equal);
75 virtual void CheckNotCharacterAfterMinusAnd(uc16 c, 75 virtual void CheckNotCharacterAfterMinusAnd(uc16 c,
76 uc16 minus, 76 uc16 minus,
77 uc16 mask, 77 uc16 mask,
78 Label* on_not_equal); 78 Label* on_not_equal);
79 // Checks whether the given offset from the current position is before 79 // Checks whether the given offset from the current position is before
80 // the end of the string. 80 // the end of the string.
81 virtual void CheckPosition(int cp_offset, Label* on_outside_input); 81 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
82 virtual bool CheckSpecialCharacterClass(uc16 type, 82 virtual bool CheckSpecialCharacterClass(uc16 type,
83 Label* on_no_match); 83 Label* on_no_match);
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 Label check_preempt_label_; 242 Label check_preempt_label_;
243 Label stack_overflow_label_; 243 Label stack_overflow_label_;
244 }; 244 };
245 245
246 #endif // V8_INTERPRETED_REGEXP 246 #endif // V8_INTERPRETED_REGEXP
247 247
248 248
249 }} // namespace v8::internal 249 }} // namespace v8::internal
250 250
251 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_ 251 #endif // V8_ARM_REGEXP_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/arm/regexp-macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698