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

Side by Side Diff: src/crankshaft/ia32/lithium-codegen-ia32.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
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/crankshaft/mips/lithium-codegen-mips.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if V8_TARGET_ARCH_IA32 5 #if V8_TARGET_ARCH_IA32
6 6
7 #include "src/crankshaft/ia32/lithium-codegen-ia32.h" 7 #include "src/crankshaft/ia32/lithium-codegen-ia32.h"
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/code-factory.h" 10 #include "src/code-factory.h"
(...skipping 2853 matching lines...) Expand 10 before | Expand all | Expand 10 after
2864 case FLOAT64_ELEMENTS: 2864 case FLOAT64_ELEMENTS:
2865 case FAST_SMI_ELEMENTS: 2865 case FAST_SMI_ELEMENTS:
2866 case FAST_ELEMENTS: 2866 case FAST_ELEMENTS:
2867 case FAST_DOUBLE_ELEMENTS: 2867 case FAST_DOUBLE_ELEMENTS:
2868 case FAST_HOLEY_SMI_ELEMENTS: 2868 case FAST_HOLEY_SMI_ELEMENTS:
2869 case FAST_HOLEY_ELEMENTS: 2869 case FAST_HOLEY_ELEMENTS:
2870 case FAST_HOLEY_DOUBLE_ELEMENTS: 2870 case FAST_HOLEY_DOUBLE_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 if (instr->hydrogen()->RequiresHoleCheck()) { 2885 if (instr->hydrogen()->RequiresHoleCheck()) {
2883 Operand hole_check_operand = BuildFastArrayOperand( 2886 Operand hole_check_operand = BuildFastArrayOperand(
(...skipping 1054 matching lines...) Expand 10 before | Expand all | Expand 10 after
3938 case FLOAT64_ELEMENTS: 3941 case FLOAT64_ELEMENTS:
3939 case FAST_SMI_ELEMENTS: 3942 case FAST_SMI_ELEMENTS:
3940 case FAST_ELEMENTS: 3943 case FAST_ELEMENTS:
3941 case FAST_DOUBLE_ELEMENTS: 3944 case FAST_DOUBLE_ELEMENTS:
3942 case FAST_HOLEY_SMI_ELEMENTS: 3945 case FAST_HOLEY_SMI_ELEMENTS:
3943 case FAST_HOLEY_ELEMENTS: 3946 case FAST_HOLEY_ELEMENTS:
3944 case FAST_HOLEY_DOUBLE_ELEMENTS: 3947 case FAST_HOLEY_DOUBLE_ELEMENTS:
3945 case DICTIONARY_ELEMENTS: 3948 case DICTIONARY_ELEMENTS:
3946 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: 3949 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
3947 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: 3950 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
3951 case FAST_STRING_WRAPPER_ELEMENTS:
3952 case SLOW_STRING_WRAPPER_ELEMENTS:
3953 case NO_ELEMENTS:
3948 UNREACHABLE(); 3954 UNREACHABLE();
3949 break; 3955 break;
3950 } 3956 }
3951 } 3957 }
3952 } 3958 }
3953 3959
3954 3960
3955 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { 3961 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) {
3956 Operand double_store_operand = BuildFastArrayOperand( 3962 Operand double_store_operand = BuildFastArrayOperand(
3957 instr->elements(), 3963 instr->elements(),
(...skipping 1498 matching lines...) Expand 10 before | Expand all | Expand 10 after
5456 RecordSafepoint(Safepoint::kNoLazyDeopt); 5462 RecordSafepoint(Safepoint::kNoLazyDeopt);
5457 } 5463 }
5458 5464
5459 5465
5460 #undef __ 5466 #undef __
5461 5467
5462 } // namespace internal 5468 } // namespace internal
5463 } // namespace v8 5469 } // namespace v8
5464 5470
5465 #endif // V8_TARGET_ARCH_IA32 5471 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/crankshaft/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698