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

Side by Side Diff: src/ppc/lithium-codegen-ppc.cc

Issue 1221713003: Distinguish slow from fast sloppy arguments (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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/ppc/code-stubs-ppc.cc ('k') | src/runtime/runtime-array.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 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/v8.h" 5 #include "src/v8.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/cpu-profiler.h" 10 #include "src/cpu-profiler.h"
(...skipping 3333 matching lines...) Expand 10 before | Expand all | Expand 10 after
3344 case FLOAT64_ELEMENTS: 3344 case FLOAT64_ELEMENTS:
3345 case EXTERNAL_FLOAT32_ELEMENTS: 3345 case EXTERNAL_FLOAT32_ELEMENTS:
3346 case EXTERNAL_FLOAT64_ELEMENTS: 3346 case EXTERNAL_FLOAT64_ELEMENTS:
3347 case FAST_HOLEY_DOUBLE_ELEMENTS: 3347 case FAST_HOLEY_DOUBLE_ELEMENTS:
3348 case FAST_HOLEY_ELEMENTS: 3348 case FAST_HOLEY_ELEMENTS:
3349 case FAST_HOLEY_SMI_ELEMENTS: 3349 case FAST_HOLEY_SMI_ELEMENTS:
3350 case FAST_DOUBLE_ELEMENTS: 3350 case FAST_DOUBLE_ELEMENTS:
3351 case FAST_ELEMENTS: 3351 case FAST_ELEMENTS:
3352 case FAST_SMI_ELEMENTS: 3352 case FAST_SMI_ELEMENTS:
3353 case DICTIONARY_ELEMENTS: 3353 case DICTIONARY_ELEMENTS:
3354 case SLOPPY_ARGUMENTS_ELEMENTS: 3354 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
3355 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
3355 UNREACHABLE(); 3356 UNREACHABLE();
3356 break; 3357 break;
3357 } 3358 }
3358 } 3359 }
3359 } 3360 }
3360 3361
3361 3362
3362 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { 3363 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) {
3363 Register elements = ToRegister(instr->elements()); 3364 Register elements = ToRegister(instr->elements());
3364 bool key_is_constant = instr->key()->IsConstantOperand(); 3365 bool key_is_constant = instr->key()->IsConstantOperand();
(...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after
4573 case FLOAT64_ELEMENTS: 4574 case FLOAT64_ELEMENTS:
4574 case EXTERNAL_FLOAT32_ELEMENTS: 4575 case EXTERNAL_FLOAT32_ELEMENTS:
4575 case EXTERNAL_FLOAT64_ELEMENTS: 4576 case EXTERNAL_FLOAT64_ELEMENTS:
4576 case FAST_DOUBLE_ELEMENTS: 4577 case FAST_DOUBLE_ELEMENTS:
4577 case FAST_ELEMENTS: 4578 case FAST_ELEMENTS:
4578 case FAST_SMI_ELEMENTS: 4579 case FAST_SMI_ELEMENTS:
4579 case FAST_HOLEY_DOUBLE_ELEMENTS: 4580 case FAST_HOLEY_DOUBLE_ELEMENTS:
4580 case FAST_HOLEY_ELEMENTS: 4581 case FAST_HOLEY_ELEMENTS:
4581 case FAST_HOLEY_SMI_ELEMENTS: 4582 case FAST_HOLEY_SMI_ELEMENTS:
4582 case DICTIONARY_ELEMENTS: 4583 case DICTIONARY_ELEMENTS:
4583 case SLOPPY_ARGUMENTS_ELEMENTS: 4584 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
4585 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
4584 UNREACHABLE(); 4586 UNREACHABLE();
4585 break; 4587 break;
4586 } 4588 }
4587 } 4589 }
4588 } 4590 }
4589 4591
4590 4592
4591 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { 4593 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) {
4592 DoubleRegister value = ToDoubleRegister(instr->value()); 4594 DoubleRegister value = ToDoubleRegister(instr->value());
4593 Register elements = ToRegister(instr->elements()); 4595 Register elements = ToRegister(instr->elements());
(...skipping 1661 matching lines...) Expand 10 before | Expand all | Expand 10 after
6255 __ Push(scope_info); 6257 __ Push(scope_info);
6256 __ push(ToRegister(instr->function())); 6258 __ push(ToRegister(instr->function()));
6257 CallRuntime(Runtime::kPushBlockContext, 2, instr); 6259 CallRuntime(Runtime::kPushBlockContext, 2, instr);
6258 RecordSafepoint(Safepoint::kNoLazyDeopt); 6260 RecordSafepoint(Safepoint::kNoLazyDeopt);
6259 } 6261 }
6260 6262
6261 6263
6262 #undef __ 6264 #undef __
6263 } // namespace internal 6265 } // namespace internal
6264 } // namespace v8 6266 } // namespace v8
OLDNEW
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | src/runtime/runtime-array.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698