| 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 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 750 case CodeStub::RegExpExec: { | 750 case CodeStub::RegExpExec: { |
| 751 RegExpExecStub stub; | 751 RegExpExecStub stub; |
| 752 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); | 752 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
| 753 break; | 753 break; |
| 754 } | 754 } |
| 755 case CodeStub::SubString: { | 755 case CodeStub::SubString: { |
| 756 SubStringStub stub; | 756 SubStringStub stub; |
| 757 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); | 757 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
| 758 break; | 758 break; |
| 759 } | 759 } |
| 760 case CodeStub::StringCharAt: { | |
| 761 StringCharAtStub stub; | |
| 762 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); | |
| 763 break; | |
| 764 } | |
| 765 case CodeStub::NumberToString: { | 760 case CodeStub::NumberToString: { |
| 766 NumberToStringStub stub; | 761 NumberToStringStub stub; |
| 767 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); | 762 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
| 768 break; | 763 break; |
| 769 } | 764 } |
| 770 case CodeStub::StringAdd: { | 765 case CodeStub::StringAdd: { |
| 771 StringAddStub stub(NO_STRING_ADD_FLAGS); | 766 StringAddStub stub(NO_STRING_ADD_FLAGS); |
| 772 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); | 767 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
| 773 break; | 768 break; |
| 774 } | 769 } |
| (...skipping 3177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3952 ASSERT(!environment->HasBeenRegistered()); | 3947 ASSERT(!environment->HasBeenRegistered()); |
| 3953 RegisterEnvironmentForDeoptimization(environment); | 3948 RegisterEnvironmentForDeoptimization(environment); |
| 3954 ASSERT(osr_pc_offset_ == -1); | 3949 ASSERT(osr_pc_offset_ == -1); |
| 3955 osr_pc_offset_ = masm()->pc_offset(); | 3950 osr_pc_offset_ = masm()->pc_offset(); |
| 3956 } | 3951 } |
| 3957 | 3952 |
| 3958 | 3953 |
| 3959 #undef __ | 3954 #undef __ |
| 3960 | 3955 |
| 3961 } } // namespace v8::internal | 3956 } } // namespace v8::internal |
| OLD | NEW |