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

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

Issue 1541133003: Incremental changes from background compilation work (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: r Created 5 years 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 954 matching lines...) Expand 10 before | Expand all | Expand 10 after
965 __ ret(); 965 __ ret();
966 } 966 }
967 967
968 968
969 void FlowGraphCompiler::EmitFrameEntry() { 969 void FlowGraphCompiler::EmitFrameEntry() {
970 const Function& function = parsed_function().function(); 970 const Function& function = parsed_function().function();
971 Register new_pp = kNoRegister; 971 Register new_pp = kNoRegister;
972 if (CanOptimizeFunction() && 972 if (CanOptimizeFunction() &&
973 function.IsOptimizable() && 973 function.IsOptimizable() &&
974 (!is_optimizing() || may_reoptimize())) { 974 (!is_optimizing() || may_reoptimize())) {
975 __ Comment("Invocation Count Check");
975 const Register function_reg = R6; 976 const Register function_reg = R6;
976 new_pp = R13; 977 new_pp = R13;
977 // The pool pointer is not setup before entering the Dart frame. 978 // The pool pointer is not setup before entering the Dart frame.
978 // Temporarily setup pool pointer for this dart function. 979 // Temporarily setup pool pointer for this dart function.
979 __ LoadPoolPointer(new_pp); 980 __ LoadPoolPointer(new_pp);
980 981
981 // Load function object using the callee's pool pointer. 982 // Load function object using the callee's pool pointer.
982 __ LoadFunctionFromCalleePool(function_reg, function, new_pp); 983 __ LoadFunctionFromCalleePool(function_reg, function, new_pp);
983 984
984 __ LoadFieldFromOffset( 985 __ LoadFieldFromOffset(
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
1870 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { 1871 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) {
1871 __ PopDouble(reg); 1872 __ PopDouble(reg);
1872 } 1873 }
1873 1874
1874 1875
1875 #undef __ 1876 #undef __
1876 1877
1877 } // namespace dart 1878 } // namespace dart
1878 1879
1879 #endif // defined TARGET_ARCH_ARM64 1880 #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