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

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

Issue 6997015: Limit the generation of regexp code with large inlined constants. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 7 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/jsregexp.cc ('k') | src/mips/regexp-macro-assembler-mips.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-2010 the V8 project authors. All rights reserved. 1 // Copyright 2006-2010 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 virtual void CheckNotCharacterAfterMinusAnd(uc16 c, 74 virtual void CheckNotCharacterAfterMinusAnd(uc16 c,
75 uc16 minus, 75 uc16 minus,
76 uc16 mask, 76 uc16 mask,
77 Label* on_not_equal); 77 Label* on_not_equal);
78 // Checks whether the given offset from the current position is before 78 // Checks whether the given offset from the current position is before
79 // the end of the string. 79 // the end of the string.
80 virtual void CheckPosition(int cp_offset, Label* on_outside_input); 80 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
81 virtual bool CheckSpecialCharacterClass(uc16 type, 81 virtual bool CheckSpecialCharacterClass(uc16 type,
82 Label* on_no_match); 82 Label* on_no_match);
83 virtual void Fail(); 83 virtual void Fail();
84 virtual Handle<Object> GetCode(Handle<String> source); 84 virtual Handle<HeapObject> GetCode(Handle<String> source);
85 virtual void GoTo(Label* label); 85 virtual void GoTo(Label* label);
86 virtual void IfRegisterGE(int reg, int comparand, Label* if_ge); 86 virtual void IfRegisterGE(int reg, int comparand, Label* if_ge);
87 virtual void IfRegisterLT(int reg, int comparand, Label* if_lt); 87 virtual void IfRegisterLT(int reg, int comparand, Label* if_lt);
88 virtual void IfRegisterEqPos(int reg, Label* if_eq); 88 virtual void IfRegisterEqPos(int reg, Label* if_eq);
89 virtual IrregexpImplementation Implementation(); 89 virtual IrregexpImplementation Implementation();
90 virtual void LoadCurrentCharacter(int cp_offset, 90 virtual void LoadCurrentCharacter(int cp_offset,
91 Label* on_end_of_input, 91 Label* on_end_of_input,
92 bool check_bounds = true, 92 bool check_bounds = true,
93 int characters = 1); 93 int characters = 1);
94 virtual void PopCurrentPosition(); 94 virtual void PopCurrentPosition();
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 Label stack_overflow_label_; 241 Label stack_overflow_label_;
242 }; 242 };
243 243
244 #endif // V8_INTERPRETED_REGEXP 244 #endif // V8_INTERPRETED_REGEXP
245 245
246 246
247 }} // namespace v8::internal 247 }} // namespace v8::internal
248 248
249 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_ 249 #endif // V8_MIPS_REGEXP_MACRO_ASSEMBLER_MIPS_H_
250 250
OLDNEW
« no previous file with comments | « src/jsregexp.cc ('k') | src/mips/regexp-macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698