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

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

Issue 7754022: Fix presubmit errors caused by updated depot tools (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 3 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/platform-solaris.cc ('k') | src/regexp-macro-assembler-tracer.h » ('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 2008-2009 the V8 project authors. All rights reserved. 1 // Copyright 2008-2009 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 virtual void CheckCharacters(Vector<const uc16> str, 100 virtual void CheckCharacters(Vector<const uc16> str,
101 int cp_offset, 101 int cp_offset,
102 Label* on_failure, 102 Label* on_failure,
103 bool check_end_of_string); 103 bool check_end_of_string);
104 virtual void IfRegisterLT(int register_index, int comparand, Label* if_lt); 104 virtual void IfRegisterLT(int register_index, int comparand, Label* if_lt);
105 virtual void IfRegisterGE(int register_index, int comparand, Label* if_ge); 105 virtual void IfRegisterGE(int register_index, int comparand, Label* if_ge);
106 virtual void IfRegisterEqPos(int register_index, Label* if_eq); 106 virtual void IfRegisterEqPos(int register_index, Label* if_eq);
107 107
108 virtual IrregexpImplementation Implementation(); 108 virtual IrregexpImplementation Implementation();
109 virtual Handle<HeapObject> GetCode(Handle<String> source); 109 virtual Handle<HeapObject> GetCode(Handle<String> source);
110
110 private: 111 private:
111 void Expand(); 112 void Expand();
112 // Code and bitmap emission. 113 // Code and bitmap emission.
113 inline void EmitOrLink(Label* label); 114 inline void EmitOrLink(Label* label);
114 inline void Emit32(uint32_t x); 115 inline void Emit32(uint32_t x);
115 inline void Emit16(uint32_t x); 116 inline void Emit16(uint32_t x);
116 inline void Emit(uint32_t bc, uint32_t arg); 117 inline void Emit(uint32_t bc, uint32_t arg);
117 // Bytecode buffer. 118 // Bytecode buffer.
118 int length(); 119 int length();
119 void Copy(Address a); 120 void Copy(Address a);
(...skipping 13 matching lines...) Expand all
133 static const int kInvalidPC = -1; 134 static const int kInvalidPC = -1;
134 135
135 DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp); 136 DISALLOW_IMPLICIT_CONSTRUCTORS(RegExpMacroAssemblerIrregexp);
136 }; 137 };
137 138
138 #endif // V8_INTERPRETED_REGEXP 139 #endif // V8_INTERPRETED_REGEXP
139 140
140 } } // namespace v8::internal 141 } } // namespace v8::internal
141 142
142 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_ 143 #endif // V8_REGEXP_MACRO_ASSEMBLER_IRREGEXP_H_
OLDNEW
« no previous file with comments | « src/platform-solaris.cc ('k') | src/regexp-macro-assembler-tracer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698