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

Side by Side Diff: src/assembler.h

Issue 547024: RegExp bitmap test for word character. (Closed)
Patch Set: Changed to char-map. Created 10 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
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 // C functions called from RegExp generated code. 456 // C functions called from RegExp generated code.
457 457
458 // Function NativeRegExpMacroAssembler::CaseInsensitiveCompareUC16() 458 // Function NativeRegExpMacroAssembler::CaseInsensitiveCompareUC16()
459 static ExternalReference re_case_insensitive_compare_uc16(); 459 static ExternalReference re_case_insensitive_compare_uc16();
460 460
461 // Function RegExpMacroAssembler*::CheckStackGuardState() 461 // Function RegExpMacroAssembler*::CheckStackGuardState()
462 static ExternalReference re_check_stack_guard_state(); 462 static ExternalReference re_check_stack_guard_state();
463 463
464 // Function NativeRegExpMacroAssembler::GrowStack() 464 // Function NativeRegExpMacroAssembler::GrowStack()
465 static ExternalReference re_grow_stack(); 465 static ExternalReference re_grow_stack();
466
467 // byte NativeRegExpMacroAssembler::word_character_bitmap
468 static ExternalReference re_word_character_map();
469
466 #endif 470 #endif
467 471
468 // This lets you register a function that rewrites all external references. 472 // This lets you register a function that rewrites all external references.
469 // Used by the ARM simulator to catch calls to external references. 473 // Used by the ARM simulator to catch calls to external references.
470 static void set_redirector(ExternalReferenceRedirector* redirector) { 474 static void set_redirector(ExternalReferenceRedirector* redirector) {
471 ASSERT(redirector_ == NULL); // We can't stack them. 475 ASSERT(redirector_ == NULL); // We can't stack them.
472 redirector_ = redirector; 476 redirector_ = redirector;
473 } 477 }
474 478
475 private: 479 private:
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 static inline bool is_uint5(int x) { return is_uintn(x, 5); } 520 static inline bool is_uint5(int x) { return is_uintn(x, 5); }
517 static inline bool is_uint6(int x) { return is_uintn(x, 6); } 521 static inline bool is_uint6(int x) { return is_uintn(x, 6); }
518 static inline bool is_uint8(int x) { return is_uintn(x, 8); } 522 static inline bool is_uint8(int x) { return is_uintn(x, 8); }
519 static inline bool is_uint12(int x) { return is_uintn(x, 12); } 523 static inline bool is_uint12(int x) { return is_uintn(x, 12); }
520 static inline bool is_uint16(int x) { return is_uintn(x, 16); } 524 static inline bool is_uint16(int x) { return is_uintn(x, 16); }
521 static inline bool is_uint24(int x) { return is_uintn(x, 24); } 525 static inline bool is_uint24(int x) { return is_uintn(x, 24); }
522 526
523 } } // namespace v8::internal 527 } } // namespace v8::internal
524 528
525 #endif // V8_ASSEMBLER_H_ 529 #endif // V8_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698