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 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
684 SubStringStub stub; | 684 SubStringStub stub; |
685 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); | 685 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
686 break; | 686 break; |
687 } | 687 } |
688 case CodeStub::StringCharAt: { | 688 case CodeStub::StringCharAt: { |
689 // TODO(1116): Add StringCharAt stub to x64. | 689 // TODO(1116): Add StringCharAt stub to x64. |
690 Abort("Unimplemented: %s", "StringCharAt Stub"); | 690 Abort("Unimplemented: %s", "StringCharAt Stub"); |
691 break; | 691 break; |
692 } | 692 } |
693 case CodeStub::MathPow: { | 693 case CodeStub::MathPow: { |
694 // TODO(1115): Add MathPow stub to x64. | 694 MathPowStub stub; |
695 Abort("Unimplemented: %s", "MathPow Stub"); | 695 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
696 break; | 696 break; |
697 } | 697 } |
698 case CodeStub::NumberToString: { | 698 case CodeStub::NumberToString: { |
699 NumberToStringStub stub; | 699 NumberToStringStub stub; |
700 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); | 700 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
701 break; | 701 break; |
702 } | 702 } |
703 case CodeStub::StringAdd: { | 703 case CodeStub::StringAdd: { |
704 StringAddStub stub(NO_STRING_ADD_FLAGS); | 704 StringAddStub stub(NO_STRING_ADD_FLAGS); |
705 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); | 705 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr); |
(...skipping 2846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3552 RegisterEnvironmentForDeoptimization(environment); | 3552 RegisterEnvironmentForDeoptimization(environment); |
3553 ASSERT(osr_pc_offset_ == -1); | 3553 ASSERT(osr_pc_offset_ == -1); |
3554 osr_pc_offset_ = masm()->pc_offset(); | 3554 osr_pc_offset_ = masm()->pc_offset(); |
3555 } | 3555 } |
3556 | 3556 |
3557 #undef __ | 3557 #undef __ |
3558 | 3558 |
3559 } } // namespace v8::internal | 3559 } } // namespace v8::internal |
3560 | 3560 |
3561 #endif // V8_TARGET_ARCH_X64 | 3561 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |