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

Side by Side Diff: src/mips/lithium-codegen-mips.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/mips/code-stubs-mips.cc ('k') | src/mips64/code-stubs-mips64.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.7 1 // Copyright 2012 the V8 project authors. All rights reserved.7
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 3130 matching lines...) Expand 10 before | Expand all | Expand 10 after
3141 case FLOAT64_ELEMENTS: 3141 case FLOAT64_ELEMENTS:
3142 case EXTERNAL_FLOAT32_ELEMENTS: 3142 case EXTERNAL_FLOAT32_ELEMENTS:
3143 case EXTERNAL_FLOAT64_ELEMENTS: 3143 case EXTERNAL_FLOAT64_ELEMENTS:
3144 case FAST_DOUBLE_ELEMENTS: 3144 case FAST_DOUBLE_ELEMENTS:
3145 case FAST_ELEMENTS: 3145 case FAST_ELEMENTS:
3146 case FAST_SMI_ELEMENTS: 3146 case FAST_SMI_ELEMENTS:
3147 case FAST_HOLEY_DOUBLE_ELEMENTS: 3147 case FAST_HOLEY_DOUBLE_ELEMENTS:
3148 case FAST_HOLEY_ELEMENTS: 3148 case FAST_HOLEY_ELEMENTS:
3149 case FAST_HOLEY_SMI_ELEMENTS: 3149 case FAST_HOLEY_SMI_ELEMENTS:
3150 case DICTIONARY_ELEMENTS: 3150 case DICTIONARY_ELEMENTS:
3151 case SLOPPY_ARGUMENTS_ELEMENTS: 3151 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
3152 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
3152 UNREACHABLE(); 3153 UNREACHABLE();
3153 break; 3154 break;
3154 } 3155 }
3155 } 3156 }
3156 } 3157 }
3157 3158
3158 3159
3159 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { 3160 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) {
3160 Register elements = ToRegister(instr->elements()); 3161 Register elements = ToRegister(instr->elements());
3161 bool key_is_constant = instr->key()->IsConstantOperand(); 3162 bool key_is_constant = instr->key()->IsConstantOperand();
(...skipping 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after
4275 case FLOAT64_ELEMENTS: 4276 case FLOAT64_ELEMENTS:
4276 case EXTERNAL_FLOAT32_ELEMENTS: 4277 case EXTERNAL_FLOAT32_ELEMENTS:
4277 case EXTERNAL_FLOAT64_ELEMENTS: 4278 case EXTERNAL_FLOAT64_ELEMENTS:
4278 case FAST_DOUBLE_ELEMENTS: 4279 case FAST_DOUBLE_ELEMENTS:
4279 case FAST_ELEMENTS: 4280 case FAST_ELEMENTS:
4280 case FAST_SMI_ELEMENTS: 4281 case FAST_SMI_ELEMENTS:
4281 case FAST_HOLEY_DOUBLE_ELEMENTS: 4282 case FAST_HOLEY_DOUBLE_ELEMENTS:
4282 case FAST_HOLEY_ELEMENTS: 4283 case FAST_HOLEY_ELEMENTS:
4283 case FAST_HOLEY_SMI_ELEMENTS: 4284 case FAST_HOLEY_SMI_ELEMENTS:
4284 case DICTIONARY_ELEMENTS: 4285 case DICTIONARY_ELEMENTS:
4285 case SLOPPY_ARGUMENTS_ELEMENTS: 4286 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
4287 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
4286 UNREACHABLE(); 4288 UNREACHABLE();
4287 break; 4289 break;
4288 } 4290 }
4289 } 4291 }
4290 } 4292 }
4291 4293
4292 4294
4293 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { 4295 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) {
4294 DoubleRegister value = ToDoubleRegister(instr->value()); 4296 DoubleRegister value = ToDoubleRegister(instr->value());
4295 Register elements = ToRegister(instr->elements()); 4297 Register elements = ToRegister(instr->elements());
(...skipping 1729 matching lines...) Expand 10 before | Expand all | Expand 10 after
6025 __ Push(at, ToRegister(instr->function())); 6027 __ Push(at, ToRegister(instr->function()));
6026 CallRuntime(Runtime::kPushBlockContext, 2, instr); 6028 CallRuntime(Runtime::kPushBlockContext, 2, instr);
6027 RecordSafepoint(Safepoint::kNoLazyDeopt); 6029 RecordSafepoint(Safepoint::kNoLazyDeopt);
6028 } 6030 }
6029 6031
6030 6032
6031 #undef __ 6033 #undef __
6032 6034
6033 } // namespace internal 6035 } // namespace internal
6034 } // namespace v8 6036 } // namespace v8
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/mips64/code-stubs-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698