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

Side by Side Diff: src/arm64/lithium-codegen-arm64.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/arm64/code-stubs-arm64.cc ('k') | src/bootstrapper.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/arm64/lithium-codegen-arm64.h" 7 #include "src/arm64/lithium-codegen-arm64.h"
8 #include "src/arm64/lithium-gap-resolver-arm64.h" 8 #include "src/arm64/lithium-gap-resolver-arm64.h"
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 3463 matching lines...) Expand 10 before | Expand all | Expand 10 after
3474 case FLOAT64_ELEMENTS: 3474 case FLOAT64_ELEMENTS:
3475 case EXTERNAL_FLOAT32_ELEMENTS: 3475 case EXTERNAL_FLOAT32_ELEMENTS:
3476 case EXTERNAL_FLOAT64_ELEMENTS: 3476 case EXTERNAL_FLOAT64_ELEMENTS:
3477 case FAST_HOLEY_DOUBLE_ELEMENTS: 3477 case FAST_HOLEY_DOUBLE_ELEMENTS:
3478 case FAST_HOLEY_ELEMENTS: 3478 case FAST_HOLEY_ELEMENTS:
3479 case FAST_HOLEY_SMI_ELEMENTS: 3479 case FAST_HOLEY_SMI_ELEMENTS:
3480 case FAST_DOUBLE_ELEMENTS: 3480 case FAST_DOUBLE_ELEMENTS:
3481 case FAST_ELEMENTS: 3481 case FAST_ELEMENTS:
3482 case FAST_SMI_ELEMENTS: 3482 case FAST_SMI_ELEMENTS:
3483 case DICTIONARY_ELEMENTS: 3483 case DICTIONARY_ELEMENTS:
3484 case SLOPPY_ARGUMENTS_ELEMENTS: 3484 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
3485 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
3485 UNREACHABLE(); 3486 UNREACHABLE();
3486 break; 3487 break;
3487 } 3488 }
3488 } 3489 }
3489 } 3490 }
3490 3491
3491 3492
3492 MemOperand LCodeGen::PrepareKeyedArrayOperand(Register base, 3493 MemOperand LCodeGen::PrepareKeyedArrayOperand(Register base,
3493 Register elements, 3494 Register elements,
3494 Register key, 3495 Register key,
(...skipping 1690 matching lines...) Expand 10 before | Expand all | Expand 10 after
5185 case FLOAT64_ELEMENTS: 5186 case FLOAT64_ELEMENTS:
5186 case EXTERNAL_FLOAT32_ELEMENTS: 5187 case EXTERNAL_FLOAT32_ELEMENTS:
5187 case EXTERNAL_FLOAT64_ELEMENTS: 5188 case EXTERNAL_FLOAT64_ELEMENTS:
5188 case FAST_DOUBLE_ELEMENTS: 5189 case FAST_DOUBLE_ELEMENTS:
5189 case FAST_ELEMENTS: 5190 case FAST_ELEMENTS:
5190 case FAST_SMI_ELEMENTS: 5191 case FAST_SMI_ELEMENTS:
5191 case FAST_HOLEY_DOUBLE_ELEMENTS: 5192 case FAST_HOLEY_DOUBLE_ELEMENTS:
5192 case FAST_HOLEY_ELEMENTS: 5193 case FAST_HOLEY_ELEMENTS:
5193 case FAST_HOLEY_SMI_ELEMENTS: 5194 case FAST_HOLEY_SMI_ELEMENTS:
5194 case DICTIONARY_ELEMENTS: 5195 case DICTIONARY_ELEMENTS:
5195 case SLOPPY_ARGUMENTS_ELEMENTS: 5196 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
5197 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
5196 UNREACHABLE(); 5198 UNREACHABLE();
5197 break; 5199 break;
5198 } 5200 }
5199 } 5201 }
5200 } 5202 }
5201 5203
5202 5204
5203 void LCodeGen::DoStoreKeyedFixedDouble(LStoreKeyedFixedDouble* instr) { 5205 void LCodeGen::DoStoreKeyedFixedDouble(LStoreKeyedFixedDouble* instr) {
5204 Register elements = ToRegister(instr->elements()); 5206 Register elements = ToRegister(instr->elements());
5205 DoubleRegister value = ToDoubleRegister(instr->value()); 5207 DoubleRegister value = ToDoubleRegister(instr->value());
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after
6114 Handle<ScopeInfo> scope_info = instr->scope_info(); 6116 Handle<ScopeInfo> scope_info = instr->scope_info();
6115 __ Push(scope_info); 6117 __ Push(scope_info);
6116 __ Push(ToRegister(instr->function())); 6118 __ Push(ToRegister(instr->function()));
6117 CallRuntime(Runtime::kPushBlockContext, 2, instr); 6119 CallRuntime(Runtime::kPushBlockContext, 2, instr);
6118 RecordSafepoint(Safepoint::kNoLazyDeopt); 6120 RecordSafepoint(Safepoint::kNoLazyDeopt);
6119 } 6121 }
6120 6122
6121 6123
6122 } // namespace internal 6124 } // namespace internal
6123 } // namespace v8 6125 } // namespace v8
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698