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

Side by Side Diff: src/regexp-macro-assembler-tracer.cc

Issue 10066009: Remove CheckNotRegistersEqual regexp-masm function from all architectures. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 8 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/x64/regexp-macro-assembler-x64.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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 374
375 void RegExpMacroAssemblerTracer::CheckNotBackReferenceIgnoreCase( 375 void RegExpMacroAssemblerTracer::CheckNotBackReferenceIgnoreCase(
376 int start_reg, 376 int start_reg,
377 Label* on_no_match) { 377 Label* on_no_match) {
378 PrintF(" CheckNotBackReferenceIgnoreCase(register=%d, label[%08x]);\n", 378 PrintF(" CheckNotBackReferenceIgnoreCase(register=%d, label[%08x]);\n",
379 start_reg, LabelToInt(on_no_match)); 379 start_reg, LabelToInt(on_no_match));
380 assembler_->CheckNotBackReferenceIgnoreCase(start_reg, on_no_match); 380 assembler_->CheckNotBackReferenceIgnoreCase(start_reg, on_no_match);
381 } 381 }
382 382
383 383
384 void RegExpMacroAssemblerTracer::CheckNotRegistersEqual(int reg1,
385 int reg2,
386 Label* on_not_equal) {
387 PrintF(" CheckNotRegistersEqual(reg1=%d, reg2=%d, label[%08x]);\n",
388 reg1,
389 reg2,
390 LabelToInt(on_not_equal));
391 assembler_->CheckNotRegistersEqual(reg1, reg2, on_not_equal);
392 }
393
394
395 void RegExpMacroAssemblerTracer::CheckCharacters(Vector<const uc16> str, 384 void RegExpMacroAssemblerTracer::CheckCharacters(Vector<const uc16> str,
396 int cp_offset, 385 int cp_offset,
397 Label* on_failure, 386 Label* on_failure,
398 bool check_end_of_string) { 387 bool check_end_of_string) {
399 PrintF(" %s(str=\"", 388 PrintF(" %s(str=\"",
400 check_end_of_string ? "CheckCharacters" : "CheckCharactersUnchecked"); 389 check_end_of_string ? "CheckCharacters" : "CheckCharactersUnchecked");
401 for (int i = 0; i < str.length(); i++) { 390 for (int i = 0; i < str.length(); i++) {
402 PrintF("0x%04x", str[i]); 391 PrintF("0x%04x", str[i]);
403 } 392 }
404 PrintF("\", cp_offset=%d, label[%08x])\n", 393 PrintF("\", cp_offset=%d, label[%08x])\n",
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 return assembler_->Implementation(); 438 return assembler_->Implementation();
450 } 439 }
451 440
452 441
453 Handle<HeapObject> RegExpMacroAssemblerTracer::GetCode(Handle<String> source) { 442 Handle<HeapObject> RegExpMacroAssemblerTracer::GetCode(Handle<String> source) {
454 PrintF(" GetCode(%s);\n", *(source->ToCString())); 443 PrintF(" GetCode(%s);\n", *(source->ToCString()));
455 return assembler_->GetCode(source); 444 return assembler_->GetCode(source);
456 } 445 }
457 446
458 }} // namespace v8::internal 447 }} // namespace v8::internal
OLDNEW
« no previous file with comments | « src/regexp-macro-assembler-tracer.h ('k') | src/x64/regexp-macro-assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698