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

Side by Side Diff: src/ia32/lithium-codegen-ia32.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/ia32/code-stubs-ia32.cc ('k') | src/ic/ic-compiler.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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_IA32 7 #if V8_TARGET_ARCH_IA32
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 3073 matching lines...) Expand 10 before | Expand all | Expand 10 after
3084 case EXTERNAL_FLOAT64_ELEMENTS: 3084 case EXTERNAL_FLOAT64_ELEMENTS:
3085 case FLOAT32_ELEMENTS: 3085 case FLOAT32_ELEMENTS:
3086 case FLOAT64_ELEMENTS: 3086 case FLOAT64_ELEMENTS:
3087 case FAST_SMI_ELEMENTS: 3087 case FAST_SMI_ELEMENTS:
3088 case FAST_ELEMENTS: 3088 case FAST_ELEMENTS:
3089 case FAST_DOUBLE_ELEMENTS: 3089 case FAST_DOUBLE_ELEMENTS:
3090 case FAST_HOLEY_SMI_ELEMENTS: 3090 case FAST_HOLEY_SMI_ELEMENTS:
3091 case FAST_HOLEY_ELEMENTS: 3091 case FAST_HOLEY_ELEMENTS:
3092 case FAST_HOLEY_DOUBLE_ELEMENTS: 3092 case FAST_HOLEY_DOUBLE_ELEMENTS:
3093 case DICTIONARY_ELEMENTS: 3093 case DICTIONARY_ELEMENTS:
3094 case SLOPPY_ARGUMENTS_ELEMENTS: 3094 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
3095 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
3095 UNREACHABLE(); 3096 UNREACHABLE();
3096 break; 3097 break;
3097 } 3098 }
3098 } 3099 }
3099 } 3100 }
3100 3101
3101 3102
3102 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { 3103 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) {
3103 if (instr->hydrogen()->RequiresHoleCheck()) { 3104 if (instr->hydrogen()->RequiresHoleCheck()) {
3104 Operand hole_check_operand = BuildFastArrayOperand( 3105 Operand hole_check_operand = BuildFastArrayOperand(
(...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after
4184 case EXTERNAL_FLOAT64_ELEMENTS: 4185 case EXTERNAL_FLOAT64_ELEMENTS:
4185 case FLOAT32_ELEMENTS: 4186 case FLOAT32_ELEMENTS:
4186 case FLOAT64_ELEMENTS: 4187 case FLOAT64_ELEMENTS:
4187 case FAST_SMI_ELEMENTS: 4188 case FAST_SMI_ELEMENTS:
4188 case FAST_ELEMENTS: 4189 case FAST_ELEMENTS:
4189 case FAST_DOUBLE_ELEMENTS: 4190 case FAST_DOUBLE_ELEMENTS:
4190 case FAST_HOLEY_SMI_ELEMENTS: 4191 case FAST_HOLEY_SMI_ELEMENTS:
4191 case FAST_HOLEY_ELEMENTS: 4192 case FAST_HOLEY_ELEMENTS:
4192 case FAST_HOLEY_DOUBLE_ELEMENTS: 4193 case FAST_HOLEY_DOUBLE_ELEMENTS:
4193 case DICTIONARY_ELEMENTS: 4194 case DICTIONARY_ELEMENTS:
4194 case SLOPPY_ARGUMENTS_ELEMENTS: 4195 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
4196 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
4195 UNREACHABLE(); 4197 UNREACHABLE();
4196 break; 4198 break;
4197 } 4199 }
4198 } 4200 }
4199 } 4201 }
4200 4202
4201 4203
4202 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { 4204 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) {
4203 Operand double_store_operand = BuildFastArrayOperand( 4205 Operand double_store_operand = BuildFastArrayOperand(
4204 instr->elements(), 4206 instr->elements(),
(...skipping 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after
5805 RecordSafepoint(Safepoint::kNoLazyDeopt); 5807 RecordSafepoint(Safepoint::kNoLazyDeopt);
5806 } 5808 }
5807 5809
5808 5810
5809 #undef __ 5811 #undef __
5810 5812
5811 } // namespace internal 5813 } // namespace internal
5812 } // namespace v8 5814 } // namespace v8
5813 5815
5814 #endif // V8_TARGET_ARCH_IA32 5816 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ic/ic-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698