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

Side by Side Diff: src/crankshaft/x64/lithium-codegen-x64.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/ppc/lithium-codegen-ppc.cc ('k') | src/crankshaft/x87/lithium-codegen-x87.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_X64 5 #if V8_TARGET_ARCH_X64
6 6
7 #include "src/crankshaft/x64/lithium-codegen-x64.h" 7 #include "src/crankshaft/x64/lithium-codegen-x64.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 2885 matching lines...) Expand 10 before | Expand all | Expand 10 after
2896 case FLOAT64_ELEMENTS: 2896 case FLOAT64_ELEMENTS:
2897 case FAST_ELEMENTS: 2897 case FAST_ELEMENTS:
2898 case FAST_SMI_ELEMENTS: 2898 case FAST_SMI_ELEMENTS:
2899 case FAST_DOUBLE_ELEMENTS: 2899 case FAST_DOUBLE_ELEMENTS:
2900 case FAST_HOLEY_ELEMENTS: 2900 case FAST_HOLEY_ELEMENTS:
2901 case FAST_HOLEY_SMI_ELEMENTS: 2901 case FAST_HOLEY_SMI_ELEMENTS:
2902 case FAST_HOLEY_DOUBLE_ELEMENTS: 2902 case FAST_HOLEY_DOUBLE_ELEMENTS:
2903 case DICTIONARY_ELEMENTS: 2903 case DICTIONARY_ELEMENTS:
2904 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: 2904 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
2905 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: 2905 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
2906 case FAST_STRING_WRAPPER_ELEMENTS:
2907 case SLOW_STRING_WRAPPER_ELEMENTS:
2908 case NO_ELEMENTS:
2906 UNREACHABLE(); 2909 UNREACHABLE();
2907 break; 2910 break;
2908 } 2911 }
2909 } 2912 }
2910 } 2913 }
2911 2914
2912 2915
2913 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { 2916 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) {
2914 XMMRegister result(ToDoubleRegister(instr->result())); 2917 XMMRegister result(ToDoubleRegister(instr->result()));
2915 LOperand* key = instr->key(); 2918 LOperand* key = instr->key();
(...skipping 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after
4099 case FLOAT64_ELEMENTS: 4102 case FLOAT64_ELEMENTS:
4100 case FAST_ELEMENTS: 4103 case FAST_ELEMENTS:
4101 case FAST_SMI_ELEMENTS: 4104 case FAST_SMI_ELEMENTS:
4102 case FAST_DOUBLE_ELEMENTS: 4105 case FAST_DOUBLE_ELEMENTS:
4103 case FAST_HOLEY_ELEMENTS: 4106 case FAST_HOLEY_ELEMENTS:
4104 case FAST_HOLEY_SMI_ELEMENTS: 4107 case FAST_HOLEY_SMI_ELEMENTS:
4105 case FAST_HOLEY_DOUBLE_ELEMENTS: 4108 case FAST_HOLEY_DOUBLE_ELEMENTS:
4106 case DICTIONARY_ELEMENTS: 4109 case DICTIONARY_ELEMENTS:
4107 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: 4110 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
4108 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: 4111 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
4112 case FAST_STRING_WRAPPER_ELEMENTS:
4113 case SLOW_STRING_WRAPPER_ELEMENTS:
4114 case NO_ELEMENTS:
4109 UNREACHABLE(); 4115 UNREACHABLE();
4110 break; 4116 break;
4111 } 4117 }
4112 } 4118 }
4113 } 4119 }
4114 4120
4115 4121
4116 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { 4122 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) {
4117 XMMRegister value = ToDoubleRegister(instr->value()); 4123 XMMRegister value = ToDoubleRegister(instr->value());
4118 LOperand* key = instr->key(); 4124 LOperand* key = instr->key();
(...skipping 1528 matching lines...) Expand 10 before | Expand all | Expand 10 after
5647 RecordSafepoint(Safepoint::kNoLazyDeopt); 5653 RecordSafepoint(Safepoint::kNoLazyDeopt);
5648 } 5654 }
5649 5655
5650 5656
5651 #undef __ 5657 #undef __
5652 5658
5653 } // namespace internal 5659 } // namespace internal
5654 } // namespace v8 5660 } // namespace v8
5655 5661
5656 #endif // V8_TARGET_ARCH_X64 5662 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/crankshaft/ppc/lithium-codegen-ppc.cc ('k') | src/crankshaft/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698