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

Side by Side Diff: src/x87/lithium-codegen-x87.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/x87/code-stubs-x87.cc ('k') | no next file » | 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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_X87 7 #if V8_TARGET_ARCH_X87
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 3331 matching lines...) Expand 10 before | Expand all | Expand 10 after
3342 case EXTERNAL_FLOAT64_ELEMENTS: 3342 case EXTERNAL_FLOAT64_ELEMENTS:
3343 case FLOAT32_ELEMENTS: 3343 case FLOAT32_ELEMENTS:
3344 case FLOAT64_ELEMENTS: 3344 case FLOAT64_ELEMENTS:
3345 case FAST_SMI_ELEMENTS: 3345 case FAST_SMI_ELEMENTS:
3346 case FAST_ELEMENTS: 3346 case FAST_ELEMENTS:
3347 case FAST_DOUBLE_ELEMENTS: 3347 case FAST_DOUBLE_ELEMENTS:
3348 case FAST_HOLEY_SMI_ELEMENTS: 3348 case FAST_HOLEY_SMI_ELEMENTS:
3349 case FAST_HOLEY_ELEMENTS: 3349 case FAST_HOLEY_ELEMENTS:
3350 case FAST_HOLEY_DOUBLE_ELEMENTS: 3350 case FAST_HOLEY_DOUBLE_ELEMENTS:
3351 case DICTIONARY_ELEMENTS: 3351 case DICTIONARY_ELEMENTS:
3352 case SLOPPY_ARGUMENTS_ELEMENTS: 3352 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
3353 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
3353 UNREACHABLE(); 3354 UNREACHABLE();
3354 break; 3355 break;
3355 } 3356 }
3356 } 3357 }
3357 } 3358 }
3358 3359
3359 3360
3360 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { 3361 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) {
3361 if (instr->hydrogen()->RequiresHoleCheck()) { 3362 if (instr->hydrogen()->RequiresHoleCheck()) {
3362 Operand hole_check_operand = BuildFastArrayOperand( 3363 Operand hole_check_operand = BuildFastArrayOperand(
(...skipping 1229 matching lines...) Expand 10 before | Expand all | Expand 10 after
4592 case EXTERNAL_FLOAT64_ELEMENTS: 4593 case EXTERNAL_FLOAT64_ELEMENTS:
4593 case FLOAT32_ELEMENTS: 4594 case FLOAT32_ELEMENTS:
4594 case FLOAT64_ELEMENTS: 4595 case FLOAT64_ELEMENTS:
4595 case FAST_SMI_ELEMENTS: 4596 case FAST_SMI_ELEMENTS:
4596 case FAST_ELEMENTS: 4597 case FAST_ELEMENTS:
4597 case FAST_DOUBLE_ELEMENTS: 4598 case FAST_DOUBLE_ELEMENTS:
4598 case FAST_HOLEY_SMI_ELEMENTS: 4599 case FAST_HOLEY_SMI_ELEMENTS:
4599 case FAST_HOLEY_ELEMENTS: 4600 case FAST_HOLEY_ELEMENTS:
4600 case FAST_HOLEY_DOUBLE_ELEMENTS: 4601 case FAST_HOLEY_DOUBLE_ELEMENTS:
4601 case DICTIONARY_ELEMENTS: 4602 case DICTIONARY_ELEMENTS:
4602 case SLOPPY_ARGUMENTS_ELEMENTS: 4603 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
4604 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
4603 UNREACHABLE(); 4605 UNREACHABLE();
4604 break; 4606 break;
4605 } 4607 }
4606 } 4608 }
4607 } 4609 }
4608 4610
4609 4611
4610 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { 4612 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) {
4611 Operand double_store_operand = BuildFastArrayOperand( 4613 Operand double_store_operand = BuildFastArrayOperand(
4612 instr->elements(), 4614 instr->elements(),
(...skipping 1784 matching lines...) Expand 10 before | Expand all | Expand 10 after
6397 RecordSafepoint(Safepoint::kNoLazyDeopt); 6399 RecordSafepoint(Safepoint::kNoLazyDeopt);
6398 } 6400 }
6399 6401
6400 6402
6401 #undef __ 6403 #undef __
6402 6404
6403 } // namespace internal 6405 } // namespace internal
6404 } // namespace v8 6406 } // namespace v8
6405 6407
6406 #endif // V8_TARGET_ARCH_X87 6408 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x87/code-stubs-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698