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

Side by Side Diff: src/x64/regexp-macro-assembler-x64.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/regexp-macro-assembler-tracer.cc ('k') | src/x64/regexp-macro-assembler-x64.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 virtual void CheckNotCharacterAfterMinusAnd(uc16 c, 68 virtual void CheckNotCharacterAfterMinusAnd(uc16 c,
69 uc16 minus, 69 uc16 minus,
70 uc16 mask, 70 uc16 mask,
71 Label* on_not_equal); 71 Label* on_not_equal);
72 // Checks whether the given offset from the current position is before 72 // Checks whether the given offset from the current position is before
73 // the end of the string. 73 // the end of the string.
74 virtual void CheckPosition(int cp_offset, Label* on_outside_input); 74 virtual void CheckPosition(int cp_offset, Label* on_outside_input);
75 virtual bool CheckSpecialCharacterClass(uc16 type, 75 virtual bool CheckSpecialCharacterClass(uc16 type,
76 Label* on_no_match); 76 Label* on_no_match);
77 virtual void Fail(); 77 virtual void Fail();
78 virtual Handle<Object> GetCode(Handle<String> source); 78 virtual Handle<HeapObject> GetCode(Handle<String> source);
79 virtual void GoTo(Label* label); 79 virtual void GoTo(Label* label);
80 virtual void IfRegisterGE(int reg, int comparand, Label* if_ge); 80 virtual void IfRegisterGE(int reg, int comparand, Label* if_ge);
81 virtual void IfRegisterLT(int reg, int comparand, Label* if_lt); 81 virtual void IfRegisterLT(int reg, int comparand, Label* if_lt);
82 virtual void IfRegisterEqPos(int reg, Label* if_eq); 82 virtual void IfRegisterEqPos(int reg, Label* if_eq);
83 virtual IrregexpImplementation Implementation(); 83 virtual IrregexpImplementation Implementation();
84 virtual void LoadCurrentCharacter(int cp_offset, 84 virtual void LoadCurrentCharacter(int cp_offset,
85 Label* on_end_of_input, 85 Label* on_end_of_input,
86 bool check_bounds = true, 86 bool check_bounds = true,
87 int characters = 1); 87 int characters = 1);
88 virtual void PopCurrentPosition(); 88 virtual void PopCurrentPosition();
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 Label exit_label_; 273 Label exit_label_;
274 Label check_preempt_label_; 274 Label check_preempt_label_;
275 Label stack_overflow_label_; 275 Label stack_overflow_label_;
276 }; 276 };
277 277
278 #endif // V8_INTERPRETED_REGEXP 278 #endif // V8_INTERPRETED_REGEXP
279 279
280 }} // namespace v8::internal 280 }} // namespace v8::internal
281 281
282 #endif // V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_ 282 #endif // V8_X64_REGEXP_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/regexp-macro-assembler-tracer.cc ('k') | src/x64/regexp-macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698