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

Side by Side Diff: src/assembler.h

Issue 173567: ARM native regexps. (Closed)
Patch Set: Created 11 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
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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 Address address() const {return reinterpret_cast<Address>(address_);} 424 Address address() const {return reinterpret_cast<Address>(address_);}
425 425
426 #ifdef ENABLE_DEBUGGER_SUPPORT 426 #ifdef ENABLE_DEBUGGER_SUPPORT
427 // Function Debug::Break() 427 // Function Debug::Break()
428 static ExternalReference debug_break(); 428 static ExternalReference debug_break();
429 429
430 // Used to check if single stepping is enabled in generated code. 430 // Used to check if single stepping is enabled in generated code.
431 static ExternalReference debug_step_in_fp_address(); 431 static ExternalReference debug_step_in_fp_address();
432 #endif 432 #endif
433 433
434 #ifdef V8_NATIVE_REGEXP
435 // C functions called from RegExp generated code.
436
437 // Function NativeRegExpMacroAssembler::CaseInsensitiveCompareUC16()
438 static ExternalReference re_case_insensitive_compare_uc16();
439
440 // Function RegExpMacroAssembler*::CheckStackGuardState()
441 static ExternalReference re_check_stack_guard_state();
442
443 // Function NativeRegExpMacroAssembler::GrowStack()
444 static ExternalReference re_grow_stack();
445 #endif
446
434 // This lets you register a function that rewrites all external references. 447 // This lets you register a function that rewrites all external references.
435 // Used by the ARM simulator to catch calls to external references. 448 // Used by the ARM simulator to catch calls to external references.
436 static void set_redirector(ExternalReferenceRedirector* redirector) { 449 static void set_redirector(ExternalReferenceRedirector* redirector) {
437 ASSERT(redirector_ == NULL); // We can't stack them. 450 ASSERT(redirector_ == NULL); // We can't stack them.
438 redirector_ = redirector; 451 redirector_ = redirector;
439 } 452 }
440 453
441 private: 454 private:
442 explicit ExternalReference(void* address) 455 explicit ExternalReference(void* address)
443 : address_(address) {} 456 : address_(address) {}
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 static inline bool is_uint5(int x) { return is_uintn(x, 5); } 491 static inline bool is_uint5(int x) { return is_uintn(x, 5); }
479 static inline bool is_uint6(int x) { return is_uintn(x, 6); } 492 static inline bool is_uint6(int x) { return is_uintn(x, 6); }
480 static inline bool is_uint8(int x) { return is_uintn(x, 8); } 493 static inline bool is_uint8(int x) { return is_uintn(x, 8); }
481 static inline bool is_uint12(int x) { return is_uintn(x, 12); } 494 static inline bool is_uint12(int x) { return is_uintn(x, 12); }
482 static inline bool is_uint16(int x) { return is_uintn(x, 16); } 495 static inline bool is_uint16(int x) { return is_uintn(x, 16); }
483 static inline bool is_uint24(int x) { return is_uintn(x, 24); } 496 static inline bool is_uint24(int x) { return is_uintn(x, 24); }
484 497
485 } } // namespace v8::internal 498 } } // namespace v8::internal
486 499
487 #endif // V8_ASSEMBLER_H_ 500 #endif // V8_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698