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

Side by Side Diff: src/code-stubs.cc

Issue 148573005: A64: Synchronize with r16249. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/bootstrapper.cc ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 CreateAllocationSiteStub stub; 589 CreateAllocationSiteStub stub;
590 stub.GetCode(isolate)->set_is_pregenerated(true); 590 stub.GetCode(isolate)->set_is_pregenerated(true);
591 } 591 }
592 592
593 593
594 void KeyedStoreElementStub::Generate(MacroAssembler* masm) { 594 void KeyedStoreElementStub::Generate(MacroAssembler* masm) {
595 switch (elements_kind_) { 595 switch (elements_kind_) {
596 case FAST_ELEMENTS: 596 case FAST_ELEMENTS:
597 case FAST_HOLEY_ELEMENTS: 597 case FAST_HOLEY_ELEMENTS:
598 case FAST_SMI_ELEMENTS: 598 case FAST_SMI_ELEMENTS:
599 case FAST_HOLEY_SMI_ELEMENTS: { 599 case FAST_HOLEY_SMI_ELEMENTS:
600 KeyedStoreStubCompiler::GenerateStoreFastElement(masm,
601 is_js_array_,
602 elements_kind_,
603 store_mode_);
604 }
605 break;
606 case FAST_DOUBLE_ELEMENTS: 600 case FAST_DOUBLE_ELEMENTS:
607 case FAST_HOLEY_DOUBLE_ELEMENTS: 601 case FAST_HOLEY_DOUBLE_ELEMENTS:
608 KeyedStoreStubCompiler::GenerateStoreFastDoubleElement(masm,
609 is_js_array_,
610 store_mode_);
611 break;
612 case EXTERNAL_BYTE_ELEMENTS: 602 case EXTERNAL_BYTE_ELEMENTS:
613 case EXTERNAL_UNSIGNED_BYTE_ELEMENTS: 603 case EXTERNAL_UNSIGNED_BYTE_ELEMENTS:
614 case EXTERNAL_SHORT_ELEMENTS: 604 case EXTERNAL_SHORT_ELEMENTS:
615 case EXTERNAL_UNSIGNED_SHORT_ELEMENTS: 605 case EXTERNAL_UNSIGNED_SHORT_ELEMENTS:
616 case EXTERNAL_INT_ELEMENTS: 606 case EXTERNAL_INT_ELEMENTS:
617 case EXTERNAL_UNSIGNED_INT_ELEMENTS: 607 case EXTERNAL_UNSIGNED_INT_ELEMENTS:
618 case EXTERNAL_FLOAT_ELEMENTS: 608 case EXTERNAL_FLOAT_ELEMENTS:
619 case EXTERNAL_DOUBLE_ELEMENTS: 609 case EXTERNAL_DOUBLE_ELEMENTS:
620 case EXTERNAL_PIXEL_ELEMENTS: 610 case EXTERNAL_PIXEL_ELEMENTS:
621 KeyedStoreStubCompiler::GenerateStoreExternalArray(masm, elements_kind_); 611 UNREACHABLE();
622 break; 612 break;
623 case DICTIONARY_ELEMENTS: 613 case DICTIONARY_ELEMENTS:
624 KeyedStoreStubCompiler::GenerateStoreDictionaryElement(masm); 614 KeyedStoreStubCompiler::GenerateStoreDictionaryElement(masm);
625 break; 615 break;
626 case NON_STRICT_ARGUMENTS_ELEMENTS: 616 case NON_STRICT_ARGUMENTS_ELEMENTS:
627 UNREACHABLE(); 617 UNREACHABLE();
628 break; 618 break;
629 } 619 }
630 } 620 }
631 621
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 InstallDescriptor(isolate, &stub3); 789 InstallDescriptor(isolate, &stub3);
800 } 790 }
801 791
802 InternalArrayConstructorStub::InternalArrayConstructorStub( 792 InternalArrayConstructorStub::InternalArrayConstructorStub(
803 Isolate* isolate) { 793 Isolate* isolate) {
804 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 794 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
805 } 795 }
806 796
807 797
808 } } // namespace v8::internal 798 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698