OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
707 case CodeStub::RegExpExec: { | 707 case CodeStub::RegExpExec: { |
708 RegExpExecStub stub; | 708 RegExpExecStub stub; |
709 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); | 709 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
710 break; | 710 break; |
711 } | 711 } |
712 case CodeStub::SubString: { | 712 case CodeStub::SubString: { |
713 SubStringStub stub; | 713 SubStringStub stub; |
714 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); | 714 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
715 break; | 715 break; |
716 } | 716 } |
717 case CodeStub::StringCharAt: { | |
718 StringCharAtStub stub; | |
719 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); | |
720 break; | |
721 } | |
722 case CodeStub::NumberToString: { | 717 case CodeStub::NumberToString: { |
723 NumberToStringStub stub; | 718 NumberToStringStub stub; |
724 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); | 719 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
725 break; | 720 break; |
726 } | 721 } |
727 case CodeStub::StringAdd: { | 722 case CodeStub::StringAdd: { |
728 StringAddStub stub(NO_STRING_ADD_FLAGS); | 723 StringAddStub stub(NO_STRING_ADD_FLAGS); |
729 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); | 724 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
730 break; | 725 break; |
731 } | 726 } |
(...skipping 3036 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3768 RegisterEnvironmentForDeoptimization(environment); | 3763 RegisterEnvironmentForDeoptimization(environment); |
3769 ASSERT(osr_pc_offset_ == -1); | 3764 ASSERT(osr_pc_offset_ == -1); |
3770 osr_pc_offset_ = masm()->pc_offset(); | 3765 osr_pc_offset_ = masm()->pc_offset(); |
3771 } | 3766 } |
3772 | 3767 |
3773 #undef __ | 3768 #undef __ |
3774 | 3769 |
3775 } } // namespace v8::internal | 3770 } } // namespace v8::internal |
3776 | 3771 |
3777 #endif // V8_TARGET_ARCH_X64 | 3772 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |