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

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: one more DCHECK fix Created 4 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
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 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after
3966 case FLOAT64_ELEMENTS: 3969 case FLOAT64_ELEMENTS:
3967 case FAST_DOUBLE_ELEMENTS: 3970 case FAST_DOUBLE_ELEMENTS:
3968 case FAST_ELEMENTS: 3971 case FAST_ELEMENTS:
3969 case FAST_SMI_ELEMENTS: 3972 case FAST_SMI_ELEMENTS:
3970 case FAST_HOLEY_DOUBLE_ELEMENTS: 3973 case FAST_HOLEY_DOUBLE_ELEMENTS:
3971 case FAST_HOLEY_ELEMENTS: 3974 case FAST_HOLEY_ELEMENTS:
3972 case FAST_HOLEY_SMI_ELEMENTS: 3975 case FAST_HOLEY_SMI_ELEMENTS:
3973 case DICTIONARY_ELEMENTS: 3976 case DICTIONARY_ELEMENTS:
3974 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: 3977 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
3975 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: 3978 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
3979 case FAST_STRING_WRAPPER_ELEMENTS:
3980 case SLOW_STRING_WRAPPER_ELEMENTS:
3981 case NO_ELEMENTS:
3976 UNREACHABLE(); 3982 UNREACHABLE();
3977 break; 3983 break;
3978 } 3984 }
3979 } 3985 }
3980 } 3986 }
3981 3987
3982 3988
3983 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { 3989 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) {
3984 DoubleRegister value = ToDoubleRegister(instr->value()); 3990 DoubleRegister value = ToDoubleRegister(instr->value());
3985 Register elements = ToRegister(instr->elements()); 3991 Register elements = ToRegister(instr->elements());
(...skipping 1613 matching lines...) Expand 10 before | Expand all | Expand 10 after
5599 __ Push(at, ToRegister(instr->function())); 5605 __ Push(at, ToRegister(instr->function()));
5600 CallRuntime(Runtime::kPushBlockContext, instr); 5606 CallRuntime(Runtime::kPushBlockContext, instr);
5601 RecordSafepoint(Safepoint::kNoLazyDeopt); 5607 RecordSafepoint(Safepoint::kNoLazyDeopt);
5602 } 5608 }
5603 5609
5604 5610
5605 #undef __ 5611 #undef __
5606 5612
5607 } // namespace internal 5613 } // namespace internal
5608 } // namespace v8 5614 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/ia32/lithium-codegen-ia32.cc ('k') | src/crankshaft/mips64/lithium-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698