Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(795)

Side by Side Diff: src/x64/lithium-codegen-x64.cc

Issue 6602007: Add MathPowStub to x64 platform, and fix error in stub on ia32 platform. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698