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

Side by Side Diff: src/crankshaft/mips/lithium-codegen-mips.cc

Issue 1612323003: Introduce {FAST,SLOW}_STRING_WRAPPER_ELEMENTS (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved.7 1 // Copyright 2012 the V8 project authors. All rights reserved.7
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 2853 matching lines...) Expand 10 before | Expand all | Expand 10 after
2864 case FLOAT64_ELEMENTS: 2864 case FLOAT64_ELEMENTS:
2865 case FAST_DOUBLE_ELEMENTS: 2865 case FAST_DOUBLE_ELEMENTS:
2866 case FAST_ELEMENTS: 2866 case FAST_ELEMENTS:
2867 case FAST_SMI_ELEMENTS: 2867 case FAST_SMI_ELEMENTS:
2868 case FAST_HOLEY_DOUBLE_ELEMENTS: 2868 case FAST_HOLEY_DOUBLE_ELEMENTS:
2869 case FAST_HOLEY_ELEMENTS: 2869 case FAST_HOLEY_ELEMENTS:
2870 case FAST_HOLEY_SMI_ELEMENTS: 2870 case FAST_HOLEY_SMI_ELEMENTS:
2871 case DICTIONARY_ELEMENTS: 2871 case DICTIONARY_ELEMENTS:
2872 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: 2872 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
2873 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: 2873 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
2874 case FAST_STRING_WRAPPER_ELEMENTS:
2875 case SLOW_STRING_WRAPPER_ELEMENTS:
2876 case NO_ELEMENTS:
2874 UNREACHABLE(); 2877 UNREACHABLE();
2875 break; 2878 break;
2876 } 2879 }
2877 } 2880 }
2878 } 2881 }
2879 2882
2880 2883
2881 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { 2884 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) {
2882 Register elements = ToRegister(instr->elements()); 2885 Register elements = ToRegister(instr->elements());
2883 bool key_is_constant = instr->key()->IsConstantOperand(); 2886 bool key_is_constant = instr->key()->IsConstantOperand();
(...skipping 1078 matching lines...) Expand 10 before | Expand all | Expand 10 after
3962 case FLOAT64_ELEMENTS: 3965 case FLOAT64_ELEMENTS:
3963 case FAST_DOUBLE_ELEMENTS: 3966 case FAST_DOUBLE_ELEMENTS:
3964 case FAST_ELEMENTS: 3967 case FAST_ELEMENTS:
3965 case FAST_SMI_ELEMENTS: 3968 case FAST_SMI_ELEMENTS:
3966 case FAST_HOLEY_DOUBLE_ELEMENTS: 3969 case FAST_HOLEY_DOUBLE_ELEMENTS:
3967 case FAST_HOLEY_ELEMENTS: 3970 case FAST_HOLEY_ELEMENTS:
3968 case FAST_HOLEY_SMI_ELEMENTS: 3971 case FAST_HOLEY_SMI_ELEMENTS:
3969 case DICTIONARY_ELEMENTS: 3972 case DICTIONARY_ELEMENTS:
3970 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: 3973 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
3971 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: 3974 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
3975 case FAST_STRING_WRAPPER_ELEMENTS:
3976 case SLOW_STRING_WRAPPER_ELEMENTS:
3977 case NO_ELEMENTS:
3972 UNREACHABLE(); 3978 UNREACHABLE();
3973 break; 3979 break;
3974 } 3980 }
3975 } 3981 }
3976 } 3982 }
3977 3983
3978 3984
3979 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { 3985 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) {
3980 DoubleRegister value = ToDoubleRegister(instr->value()); 3986 DoubleRegister value = ToDoubleRegister(instr->value());
3981 Register elements = ToRegister(instr->elements()); 3987 Register elements = ToRegister(instr->elements());
(...skipping 1613 matching lines...) Expand 10 before | Expand all | Expand 10 after
5595 __ Push(at, ToRegister(instr->function())); 5601 __ Push(at, ToRegister(instr->function()));
5596 CallRuntime(Runtime::kPushBlockContext, instr); 5602 CallRuntime(Runtime::kPushBlockContext, instr);
5597 RecordSafepoint(Safepoint::kNoLazyDeopt); 5603 RecordSafepoint(Safepoint::kNoLazyDeopt);
5598 } 5604 }
5599 5605
5600 5606
5601 #undef __ 5607 #undef __
5602 5608
5603 } // namespace internal 5609 } // namespace internal
5604 } // namespace v8 5610 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698