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

Side by Side Diff: runtime/vm/flow_graph_compiler_mips.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_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_MIPS. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS.
6 #if defined(TARGET_ARCH_MIPS) 6 #if defined(TARGET_ARCH_MIPS)
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 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 // Input parameters: 1033 // Input parameters:
1034 // RA: return address. 1034 // RA: return address.
1035 // SP: address of last argument. 1035 // SP: address of last argument.
1036 // FP: caller's frame pointer. 1036 // FP: caller's frame pointer.
1037 // PP: caller's pool pointer. 1037 // PP: caller's pool pointer.
1038 // S5: ic-data. 1038 // S5: ic-data.
1039 // S4: arguments descriptor array. 1039 // S4: arguments descriptor array.
1040 void FlowGraphCompiler::CompileGraph() { 1040 void FlowGraphCompiler::CompileGraph() {
1041 InitCompiler(); 1041 InitCompiler();
1042 1042
1043 TryIntrinsify(); 1043 if (TryIntrinsify()) {
1044 // Skip regular code generation.
1045 return;
1046 }
1044 1047
1045 EmitFrameEntry(); 1048 EmitFrameEntry();
1046 1049
1047 const Function& function = parsed_function().function(); 1050 const Function& function = parsed_function().function();
1048 1051
1049 const int num_fixed_params = function.num_fixed_parameters(); 1052 const int num_fixed_params = function.num_fixed_parameters();
1050 const int num_copied_params = parsed_function().num_copied_params(); 1053 const int num_copied_params = parsed_function().num_copied_params();
1051 const int num_locals = parsed_function().num_stack_locals(); 1054 const int num_locals = parsed_function().num_stack_locals();
1052 1055
1053 // We check the number of passed arguments when we have to copy them due to 1056 // We check the number of passed arguments when we have to copy them due to
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
1843 __ AddImmediate(SP, kDoubleSize); 1846 __ AddImmediate(SP, kDoubleSize);
1844 } 1847 }
1845 1848
1846 1849
1847 #undef __ 1850 #undef __
1848 1851
1849 1852
1850 } // namespace dart 1853 } // namespace dart
1851 1854
1852 #endif // defined TARGET_ARCH_MIPS 1855 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698