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

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

Issue 251083007: Removes loads from PP from stubs on arm64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/constants_arm64.h ('k') | runtime/vm/runtime_entry_arm64.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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 } 394 }
395 395
396 396
397 void FlowGraphCompiler::GenerateInlinedSetter(intptr_t offset) { 397 void FlowGraphCompiler::GenerateInlinedSetter(intptr_t offset) {
398 UNIMPLEMENTED(); 398 UNIMPLEMENTED();
399 } 399 }
400 400
401 401
402 void FlowGraphCompiler::EmitFrameEntry() { 402 void FlowGraphCompiler::EmitFrameEntry() {
403 const Function& function = parsed_function().function(); 403 const Function& function = parsed_function().function();
404 Register new_pp = kNoRegister; 404 Register new_pp = kNoPP;
405 if (CanOptimizeFunction() && 405 if (CanOptimizeFunction() &&
406 function.IsOptimizable() && 406 function.IsOptimizable() &&
407 (!is_optimizing() || may_reoptimize())) { 407 (!is_optimizing() || may_reoptimize())) {
408 const Register function_reg = R6; 408 const Register function_reg = R6;
409 new_pp = R13; 409 new_pp = R13;
410 410
411 // Set up pool pointer in new_pp. 411 // Set up pool pointer in new_pp.
412 __ LoadPoolPointer(new_pp); 412 __ LoadPoolPointer(new_pp);
413 413
414 // Load function object using the callee's pool pointer. 414 // Load function object using the callee's pool pointer.
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { 905 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) {
906 UNIMPLEMENTED(); 906 UNIMPLEMENTED();
907 } 907 }
908 908
909 909
910 #undef __ 910 #undef __
911 911
912 } // namespace dart 912 } // namespace dart
913 913
914 #endif // defined TARGET_ARCH_ARM64 914 #endif // defined TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « runtime/vm/constants_arm64.h ('k') | runtime/vm/runtime_entry_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698