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

Side by Side Diff: src/mips64/lithium-codegen-mips64.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/mips64/code-stubs-mips64.cc ('k') | src/objects.h » ('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 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/cpu-profiler.h" 9 #include "src/cpu-profiler.h"
10 #include "src/hydrogen-osr.h" 10 #include "src/hydrogen-osr.h"
(...skipping 3259 matching lines...) Expand 10 before | Expand all | Expand 10 after
3270 case FLOAT64_ELEMENTS: 3270 case FLOAT64_ELEMENTS:
3271 case EXTERNAL_FLOAT32_ELEMENTS: 3271 case EXTERNAL_FLOAT32_ELEMENTS:
3272 case EXTERNAL_FLOAT64_ELEMENTS: 3272 case EXTERNAL_FLOAT64_ELEMENTS:
3273 case FAST_DOUBLE_ELEMENTS: 3273 case FAST_DOUBLE_ELEMENTS:
3274 case FAST_ELEMENTS: 3274 case FAST_ELEMENTS:
3275 case FAST_SMI_ELEMENTS: 3275 case FAST_SMI_ELEMENTS:
3276 case FAST_HOLEY_DOUBLE_ELEMENTS: 3276 case FAST_HOLEY_DOUBLE_ELEMENTS:
3277 case FAST_HOLEY_ELEMENTS: 3277 case FAST_HOLEY_ELEMENTS:
3278 case FAST_HOLEY_SMI_ELEMENTS: 3278 case FAST_HOLEY_SMI_ELEMENTS:
3279 case DICTIONARY_ELEMENTS: 3279 case DICTIONARY_ELEMENTS:
3280 case SLOPPY_ARGUMENTS_ELEMENTS: 3280 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
3281 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
3281 UNREACHABLE(); 3282 UNREACHABLE();
3282 break; 3283 break;
3283 } 3284 }
3284 } 3285 }
3285 } 3286 }
3286 3287
3287 3288
3288 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) { 3289 void LCodeGen::DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr) {
3289 Register elements = ToRegister(instr->elements()); 3290 Register elements = ToRegister(instr->elements());
3290 bool key_is_constant = instr->key()->IsConstantOperand(); 3291 bool key_is_constant = instr->key()->IsConstantOperand();
(...skipping 1186 matching lines...) Expand 10 before | Expand all | Expand 10 after
4477 case FLOAT64_ELEMENTS: 4478 case FLOAT64_ELEMENTS:
4478 case EXTERNAL_FLOAT32_ELEMENTS: 4479 case EXTERNAL_FLOAT32_ELEMENTS:
4479 case EXTERNAL_FLOAT64_ELEMENTS: 4480 case EXTERNAL_FLOAT64_ELEMENTS:
4480 case FAST_DOUBLE_ELEMENTS: 4481 case FAST_DOUBLE_ELEMENTS:
4481 case FAST_ELEMENTS: 4482 case FAST_ELEMENTS:
4482 case FAST_SMI_ELEMENTS: 4483 case FAST_SMI_ELEMENTS:
4483 case FAST_HOLEY_DOUBLE_ELEMENTS: 4484 case FAST_HOLEY_DOUBLE_ELEMENTS:
4484 case FAST_HOLEY_ELEMENTS: 4485 case FAST_HOLEY_ELEMENTS:
4485 case FAST_HOLEY_SMI_ELEMENTS: 4486 case FAST_HOLEY_SMI_ELEMENTS:
4486 case DICTIONARY_ELEMENTS: 4487 case DICTIONARY_ELEMENTS:
4487 case SLOPPY_ARGUMENTS_ELEMENTS: 4488 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
4489 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
4488 UNREACHABLE(); 4490 UNREACHABLE();
4489 break; 4491 break;
4490 } 4492 }
4491 } 4493 }
4492 } 4494 }
4493 4495
4494 4496
4495 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) { 4497 void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) {
4496 DoubleRegister value = ToDoubleRegister(instr->value()); 4498 DoubleRegister value = ToDoubleRegister(instr->value());
4497 Register elements = ToRegister(instr->elements()); 4499 Register elements = ToRegister(instr->elements());
(...skipping 1709 matching lines...) Expand 10 before | Expand all | Expand 10 after
6207 __ Push(at, ToRegister(instr->function())); 6209 __ Push(at, ToRegister(instr->function()));
6208 CallRuntime(Runtime::kPushBlockContext, 2, instr); 6210 CallRuntime(Runtime::kPushBlockContext, 2, instr);
6209 RecordSafepoint(Safepoint::kNoLazyDeopt); 6211 RecordSafepoint(Safepoint::kNoLazyDeopt);
6210 } 6212 }
6211 6213
6212 6214
6213 #undef __ 6215 #undef __
6214 6216
6215 } // namespace internal 6217 } // namespace internal
6216 } // namespace v8 6218 } // namespace v8
OLDNEW
« no previous file with comments | « src/mips64/code-stubs-mips64.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698