OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1056 case CodeStub::RegExpExec: { | 1056 case CodeStub::RegExpExec: { |
1057 RegExpExecStub stub; | 1057 RegExpExecStub stub; |
1058 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); | 1058 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
1059 break; | 1059 break; |
1060 } | 1060 } |
1061 case CodeStub::SubString: { | 1061 case CodeStub::SubString: { |
1062 SubStringStub stub; | 1062 SubStringStub stub; |
1063 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); | 1063 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
1064 break; | 1064 break; |
1065 } | 1065 } |
1066 case CodeStub::NumberToString: { | |
1067 NumberToStringStub stub; | |
1068 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); | |
1069 break; | |
1070 } | |
1071 case CodeStub::StringCompare: { | 1066 case CodeStub::StringCompare: { |
1072 StringCompareStub stub; | 1067 StringCompareStub stub; |
1073 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); | 1068 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
1074 break; | 1069 break; |
1075 } | 1070 } |
1076 case CodeStub::TranscendentalCache: { | 1071 case CodeStub::TranscendentalCache: { |
1077 __ lw(a0, MemOperand(sp, 0)); | 1072 __ lw(a0, MemOperand(sp, 0)); |
1078 TranscendentalCacheStub stub(instr->transcendental_type(), | 1073 TranscendentalCacheStub stub(instr->transcendental_type(), |
1079 TranscendentalCacheStub::TAGGED); | 1074 TranscendentalCacheStub::TAGGED); |
1080 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); | 1075 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
(...skipping 4692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5773 __ Subu(scratch, result, scratch); | 5768 __ Subu(scratch, result, scratch); |
5774 __ lw(result, FieldMemOperand(scratch, | 5769 __ lw(result, FieldMemOperand(scratch, |
5775 FixedArray::kHeaderSize - kPointerSize)); | 5770 FixedArray::kHeaderSize - kPointerSize)); |
5776 __ bind(&done); | 5771 __ bind(&done); |
5777 } | 5772 } |
5778 | 5773 |
5779 | 5774 |
5780 #undef __ | 5775 #undef __ |
5781 | 5776 |
5782 } } // namespace v8::internal | 5777 } } // namespace v8::internal |
OLD | NEW |