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

Side by Side Diff: runtime/vm/flow_graph_compiler_arm64.cc

Issue 1376233011: Partially revert r26703 and omit regular code generation for implicit accessors. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | « runtime/vm/flow_graph_compiler_arm.cc ('k') | runtime/vm/flow_graph_compiler_ia32.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 (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64.
6 #if defined(TARGET_ARCH_ARM64) 6 #if defined(TARGET_ARCH_ARM64)
7 7
8 #include "vm/flow_graph_compiler.h" 8 #include "vm/flow_graph_compiler.h"
9 9
10 #include "vm/ast_printer.h" 10 #include "vm/ast_printer.h"
(...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 // Input parameters: 1015 // Input parameters:
1016 // LR: return address. 1016 // LR: return address.
1017 // SP: address of last argument. 1017 // SP: address of last argument.
1018 // FP: caller's frame pointer. 1018 // FP: caller's frame pointer.
1019 // PP: caller's pool pointer. 1019 // PP: caller's pool pointer.
1020 // R5: ic-data. 1020 // R5: ic-data.
1021 // R4: arguments descriptor array. 1021 // R4: arguments descriptor array.
1022 void FlowGraphCompiler::CompileGraph() { 1022 void FlowGraphCompiler::CompileGraph() {
1023 InitCompiler(); 1023 InitCompiler();
1024 1024
1025 TryIntrinsify(); 1025 if (TryIntrinsify()) {
1026 // Skip regular code generation.
1027 return;
1028 }
1026 1029
1027 EmitFrameEntry(); 1030 EmitFrameEntry();
1028 ASSERT(assembler()->constant_pool_allowed()); 1031 ASSERT(assembler()->constant_pool_allowed());
1029 1032
1030 const Function& function = parsed_function().function(); 1033 const Function& function = parsed_function().function();
1031 1034
1032 const int num_fixed_params = function.num_fixed_parameters(); 1035 const int num_fixed_params = function.num_fixed_parameters();
1033 const int num_copied_params = parsed_function().num_copied_params(); 1036 const int num_copied_params = parsed_function().num_copied_params();
1034 const int num_locals = parsed_function().num_stack_locals(); 1037 const int num_locals = parsed_function().num_stack_locals();
1035 1038
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
1821 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { 1824 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) {
1822 __ PopDouble(reg); 1825 __ PopDouble(reg);
1823 } 1826 }
1824 1827
1825 1828
1826 #undef __ 1829 #undef __
1827 1830
1828 } // namespace dart 1831 } // namespace dart
1829 1832
1830 #endif // defined TARGET_ARCH_ARM64 1833 #endif // defined TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm.cc ('k') | runtime/vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698