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/ppc/lithium-codegen-ppc.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #include "src/crankshaft/ppc/lithium-codegen-ppc.h" 5 #include "src/crankshaft/ppc/lithium-codegen-ppc.h"
6 6
7 #include "src/base/bits.h" 7 #include "src/base/bits.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/crankshaft/hydrogen-osr.h" 10 #include "src/crankshaft/hydrogen-osr.h"
(...skipping 3068 matching lines...) Expand 10 before | Expand all | Expand 10 after
3079 case FLOAT64_ELEMENTS: 3079 case FLOAT64_ELEMENTS:
3080 case FAST_HOLEY_DOUBLE_ELEMENTS: 3080 case FAST_HOLEY_DOUBLE_ELEMENTS:
3081 case FAST_HOLEY_ELEMENTS: 3081 case FAST_HOLEY_ELEMENTS:
3082 case FAST_HOLEY_SMI_ELEMENTS: 3082 case FAST_HOLEY_SMI_ELEMENTS:
3083 case FAST_DOUBLE_ELEMENTS: 3083 case FAST_DOUBLE_ELEMENTS:
3084 case FAST_ELEMENTS: 3084 case FAST_ELEMENTS:
3085 case FAST_SMI_ELEMENTS: 3085 case FAST_SMI_ELEMENTS:
3086 case DICTIONARY_ELEMENTS: 3086 case DICTIONARY_ELEMENTS:
3087 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: 3087 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
3088 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: 3088 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
3089 case FAST_STRING_WRAPPER_ELEMENTS:
3090 case SLOW_STRING_WRAPPER_ELEMENTS:
3091 case NO_ELEMENTS:
3089 UNREACHABLE(); 3092 UNREACHABLE();
3090 break; 3093 break;
3091 } 3094 }
3092 } 3095 }
3093 } 3096 }
3094 3097
3095 3098
3096 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { 3099 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) {
3097 Register elements = ToRegister(instr->elements()); 3100 Register elements = ToRegister(instr->elements());
3098 bool key_is_constant = instr->key()->IsConstantOperand(); 3101 bool key_is_constant = instr->key()->IsConstantOperand();
(...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after
4268 case FLOAT64_ELEMENTS: 4271 case FLOAT64_ELEMENTS:
4269 case FAST_DOUBLE_ELEMENTS: 4272 case FAST_DOUBLE_ELEMENTS:
4270 case FAST_ELEMENTS: 4273 case FAST_ELEMENTS:
4271 case FAST_SMI_ELEMENTS: 4274 case FAST_SMI_ELEMENTS:
4272 case FAST_HOLEY_DOUBLE_ELEMENTS: 4275 case FAST_HOLEY_DOUBLE_ELEMENTS:
4273 case FAST_HOLEY_ELEMENTS: 4276 case FAST_HOLEY_ELEMENTS:
4274 case FAST_HOLEY_SMI_ELEMENTS: 4277 case FAST_HOLEY_SMI_ELEMENTS:
4275 case DICTIONARY_ELEMENTS: 4278 case DICTIONARY_ELEMENTS:
4276 case FAST_SLOPPY_ARGUMENTS_ELEMENTS: 4279 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
4277 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: 4280 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
4281 case FAST_STRING_WRAPPER_ELEMENTS:
4282 case SLOW_STRING_WRAPPER_ELEMENTS:
4283 case NO_ELEMENTS:
4278 UNREACHABLE(); 4284 UNREACHABLE();
4279 break; 4285 break;
4280 } 4286 }
4281 } 4287 }
4282 } 4288 }
4283 4289
4284 4290
4285 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { 4291 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) {
4286 DoubleRegister value = ToDoubleRegister(instr->value()); 4292 DoubleRegister value = ToDoubleRegister(instr->value());
4287 Register elements = ToRegister(instr->elements()); 4293 Register elements = ToRegister(instr->elements());
(...skipping 1562 matching lines...) Expand 10 before | Expand all | Expand 10 after
5850 __ Push(scope_info); 5856 __ Push(scope_info);
5851 __ push(ToRegister(instr->function())); 5857 __ push(ToRegister(instr->function()));
5852 CallRuntime(Runtime::kPushBlockContext, instr); 5858 CallRuntime(Runtime::kPushBlockContext, instr);
5853 RecordSafepoint(Safepoint::kNoLazyDeopt); 5859 RecordSafepoint(Safepoint::kNoLazyDeopt);
5854 } 5860 }
5855 5861
5856 5862
5857 #undef __ 5863 #undef __
5858 } // namespace internal 5864 } // namespace internal
5859 } // namespace v8 5865 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/mips64/lithium-codegen-mips64.cc ('k') | src/crankshaft/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698