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/regexp-macro-assembler-tracer.cc

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/regexp-macro-assembler-tracer.h ('k') | src/token.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 the V8 project authors. All rights reserved. 1 // Copyright 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 206
207 207
208 void RegExpMacroAssemblerTracer::CheckCharacterGT(uc16 limit, 208 void RegExpMacroAssemblerTracer::CheckCharacterGT(uc16 limit,
209 Label* on_greater) { 209 Label* on_greater) {
210 PrintF(" CheckCharacterGT(c='u%04x', label[%08x]);\n", 210 PrintF(" CheckCharacterGT(c='u%04x', label[%08x]);\n",
211 limit, LabelToInt(on_greater)); 211 limit, LabelToInt(on_greater));
212 assembler_->CheckCharacterGT(limit, on_greater); 212 assembler_->CheckCharacterGT(limit, on_greater);
213 } 213 }
214 214
215 215
216 void RegExpMacroAssemblerTracer::CheckCharacter(uint32_t c, Label* on_equal) { 216 void RegExpMacroAssemblerTracer::CheckCharacter(unsigned c, Label* on_equal) {
217 PrintF(" CheckCharacter(c='u%04x', label[%08x]);\n", 217 PrintF(" CheckCharacter(c='u%04x', label[%08x]);\n",
218 c, LabelToInt(on_equal)); 218 c, LabelToInt(on_equal));
219 assembler_->CheckCharacter(c, on_equal); 219 assembler_->CheckCharacter(c, on_equal);
220 } 220 }
221 221
222 222
223 void RegExpMacroAssemblerTracer::CheckAtStart(Label* on_at_start) { 223 void RegExpMacroAssemblerTracer::CheckAtStart(Label* on_at_start) {
224 PrintF(" CheckAtStart(label[%08x]);\n", LabelToInt(on_at_start)); 224 PrintF(" CheckAtStart(label[%08x]);\n", LabelToInt(on_at_start));
225 assembler_->CheckAtStart(on_at_start); 225 assembler_->CheckAtStart(on_at_start);
226 } 226 }
227 227
228 228
229 void RegExpMacroAssemblerTracer::CheckNotAtStart(Label* on_not_at_start) { 229 void RegExpMacroAssemblerTracer::CheckNotAtStart(Label* on_not_at_start) {
230 PrintF(" CheckNotAtStart(label[%08x]);\n", LabelToInt(on_not_at_start)); 230 PrintF(" CheckNotAtStart(label[%08x]);\n", LabelToInt(on_not_at_start));
231 assembler_->CheckNotAtStart(on_not_at_start); 231 assembler_->CheckNotAtStart(on_not_at_start);
232 } 232 }
233 233
234 234
235 void RegExpMacroAssemblerTracer::CheckNotCharacter(uint32_t c, 235 void RegExpMacroAssemblerTracer::CheckNotCharacter(unsigned c,
236 Label* on_not_equal) { 236 Label* on_not_equal) {
237 PrintF(" CheckNotCharacter(c='u%04x', label[%08x]);\n", 237 PrintF(" CheckNotCharacter(c='u%04x', label[%08x]);\n",
238 c, LabelToInt(on_not_equal)); 238 c, LabelToInt(on_not_equal));
239 assembler_->CheckNotCharacter(c, on_not_equal); 239 assembler_->CheckNotCharacter(c, on_not_equal);
240 } 240 }
241 241
242 242
243 void RegExpMacroAssemblerTracer::CheckCharacterAfterAnd( 243 void RegExpMacroAssemblerTracer::CheckCharacterAfterAnd(
244 uint32_t c, 244 unsigned c,
245 uint32_t mask, 245 unsigned mask,
246 Label* on_equal) { 246 Label* on_equal) {
247 PrintF(" CheckCharacterAfterAnd(c='u%04x', mask=0x%04x, label[%08x]);\n", 247 PrintF(" CheckCharacterAfterAnd(c='u%04x', mask=0x%04x, label[%08x]);\n",
248 c, 248 c,
249 mask, 249 mask,
250 LabelToInt(on_equal)); 250 LabelToInt(on_equal));
251 assembler_->CheckCharacterAfterAnd(c, mask, on_equal); 251 assembler_->CheckCharacterAfterAnd(c, mask, on_equal);
252 } 252 }
253 253
254 254
255 void RegExpMacroAssemblerTracer::CheckNotCharacterAfterAnd( 255 void RegExpMacroAssemblerTracer::CheckNotCharacterAfterAnd(
256 uint32_t c, 256 unsigned c,
257 uint32_t mask, 257 unsigned mask,
258 Label* on_not_equal) { 258 Label* on_not_equal) {
259 PrintF(" CheckNotCharacterAfterAnd(c='u%04x', mask=0x%04x, label[%08x]);\n", 259 PrintF(" CheckNotCharacterAfterAnd(c='u%04x', mask=0x%04x, label[%08x]);\n",
260 c, 260 c,
261 mask, 261 mask,
262 LabelToInt(on_not_equal)); 262 LabelToInt(on_not_equal));
263 assembler_->CheckNotCharacterAfterAnd(c, mask, on_not_equal); 263 assembler_->CheckNotCharacterAfterAnd(c, mask, on_not_equal);
264 } 264 }
265 265
266 266
267 void RegExpMacroAssemblerTracer::CheckNotCharacterAfterMinusAnd( 267 void RegExpMacroAssemblerTracer::CheckNotCharacterAfterMinusAnd(
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 return assembler_->Implementation(); 364 return assembler_->Implementation();
365 } 365 }
366 366
367 367
368 Handle<Object> RegExpMacroAssemblerTracer::GetCode(Handle<String> source) { 368 Handle<Object> RegExpMacroAssemblerTracer::GetCode(Handle<String> source) {
369 PrintF(" GetCode(%s);\n", *(source->ToCString())); 369 PrintF(" GetCode(%s);\n", *(source->ToCString()));
370 return assembler_->GetCode(source); 370 return assembler_->GetCode(source);
371 } 371 }
372 372
373 }} // namespace v8::internal 373 }} // namespace v8::internal
OLDNEW
« no previous file with comments | « src/regexp-macro-assembler-tracer.h ('k') | src/token.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698