| OLD | NEW |
| 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 29 matching lines...) Expand all Loading... |
| 40 #include "ic-inl.h" | 40 #include "ic-inl.h" |
| 41 #include "factory.h" | 41 #include "factory.h" |
| 42 #include "runtime.h" | 42 #include "runtime.h" |
| 43 #include "runtime-profiler.h" | 43 #include "runtime-profiler.h" |
| 44 #include "serialize.h" | 44 #include "serialize.h" |
| 45 #include "stub-cache.h" | 45 #include "stub-cache.h" |
| 46 #include "regexp-stack.h" | 46 #include "regexp-stack.h" |
| 47 #include "ast.h" | 47 #include "ast.h" |
| 48 #include "regexp-macro-assembler.h" | 48 #include "regexp-macro-assembler.h" |
| 49 #include "platform.h" | 49 #include "platform.h" |
| 50 #include "write-buffer.h" | 50 #include "store-buffer.h" |
| 51 // Include native regexp-macro-assembler. | 51 // Include native regexp-macro-assembler. |
| 52 #ifndef V8_INTERPRETED_REGEXP | 52 #ifndef V8_INTERPRETED_REGEXP |
| 53 #if V8_TARGET_ARCH_IA32 | 53 #if V8_TARGET_ARCH_IA32 |
| 54 #include "ia32/regexp-macro-assembler-ia32.h" | 54 #include "ia32/regexp-macro-assembler-ia32.h" |
| 55 #elif V8_TARGET_ARCH_X64 | 55 #elif V8_TARGET_ARCH_X64 |
| 56 #include "x64/regexp-macro-assembler-x64.h" | 56 #include "x64/regexp-macro-assembler-x64.h" |
| 57 #elif V8_TARGET_ARCH_ARM | 57 #elif V8_TARGET_ARCH_ARM |
| 58 #include "arm/regexp-macro-assembler-arm.h" | 58 #include "arm/regexp-macro-assembler-arm.h" |
| 59 #else // Unknown architecture. | 59 #else // Unknown architecture. |
| 60 #error "Unknown architecture." | 60 #error "Unknown architecture." |
| (...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 ExternalReference ExternalReference::address_of_regexp_stack_limit() { | 666 ExternalReference ExternalReference::address_of_regexp_stack_limit() { |
| 667 return ExternalReference(RegExpStack::limit_address()); | 667 return ExternalReference(RegExpStack::limit_address()); |
| 668 } | 668 } |
| 669 | 669 |
| 670 | 670 |
| 671 ExternalReference ExternalReference::new_space_start() { | 671 ExternalReference ExternalReference::new_space_start() { |
| 672 return ExternalReference(Heap::NewSpaceStart()); | 672 return ExternalReference(Heap::NewSpaceStart()); |
| 673 } | 673 } |
| 674 | 674 |
| 675 | 675 |
| 676 ExternalReference ExternalReference::write_buffer_top() { | 676 ExternalReference ExternalReference::store_buffer_top() { |
| 677 return ExternalReference(WriteBuffer::TopAddress()); | 677 return ExternalReference(StoreBuffer::TopAddress()); |
| 678 } | 678 } |
| 679 | 679 |
| 680 | 680 |
| 681 ExternalReference ExternalReference::new_space_mask() { | 681 ExternalReference ExternalReference::new_space_mask() { |
| 682 return ExternalReference(reinterpret_cast<Address>(Heap::NewSpaceMask())); | 682 return ExternalReference(reinterpret_cast<Address>(Heap::NewSpaceMask())); |
| 683 } | 683 } |
| 684 | 684 |
| 685 | 685 |
| 686 ExternalReference ExternalReference::new_space_allocation_top_address() { | 686 ExternalReference ExternalReference::new_space_allocation_top_address() { |
| 687 return ExternalReference(Heap::NewSpaceAllocationTopAddress()); | 687 return ExternalReference(Heap::NewSpaceAllocationTopAddress()); |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 942 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 942 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
| 943 state_.written_position = state_.current_position; | 943 state_.written_position = state_.current_position; |
| 944 written = true; | 944 written = true; |
| 945 } | 945 } |
| 946 | 946 |
| 947 // Return whether something was written. | 947 // Return whether something was written. |
| 948 return written; | 948 return written; |
| 949 } | 949 } |
| 950 | 950 |
| 951 } } // namespace v8::internal | 951 } } // namespace v8::internal |
| OLD | NEW |