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

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

Issue 306483005: - Use isolate where it is appropriate. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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
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 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after
1366 num_args_checked)); // No arguments checked. 1366 num_args_checked)); // No arguments checked.
1367 ic_data.AddTarget(target_function); 1367 ic_data.AddTarget(target_function);
1368 uword label_address = 0; 1368 uword label_address = 0;
1369 if (ic_data.NumArgsTested() == 0) { 1369 if (ic_data.NumArgsTested() == 0) {
1370 label_address = StubCode::ZeroArgsUnoptimizedStaticCallEntryPoint(); 1370 label_address = StubCode::ZeroArgsUnoptimizedStaticCallEntryPoint();
1371 } else if (ic_data.NumArgsTested() == 2) { 1371 } else if (ic_data.NumArgsTested() == 2) {
1372 label_address = StubCode::TwoArgsUnoptimizedStaticCallEntryPoint(); 1372 label_address = StubCode::TwoArgsUnoptimizedStaticCallEntryPoint();
1373 } else { 1373 } else {
1374 UNIMPLEMENTED(); 1374 UNIMPLEMENTED();
1375 } 1375 }
1376 ExternalLabel target_label("StaticCallICStub", label_address); 1376 ExternalLabel target_label(label_address);
1377 __ LoadObject(S5, ic_data); 1377 __ LoadObject(S5, ic_data);
1378 GenerateDartCall(deopt_id, 1378 GenerateDartCall(deopt_id,
1379 token_pos, 1379 token_pos,
1380 &target_label, 1380 &target_label,
1381 PcDescriptors::kUnoptStaticCall, 1381 PcDescriptors::kUnoptStaticCall,
1382 locs); 1382 locs);
1383 __ Drop(argument_count); 1383 __ Drop(argument_count);
1384 } 1384 }
1385 1385
1386 1386
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
1827 __ AddImmediate(SP, kDoubleSize); 1827 __ AddImmediate(SP, kDoubleSize);
1828 } 1828 }
1829 1829
1830 1830
1831 #undef __ 1831 #undef __
1832 1832
1833 1833
1834 } // namespace dart 1834 } // namespace dart
1835 1835
1836 #endif // defined TARGET_ARCH_MIPS 1836 #endif // defined TARGET_ARCH_MIPS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698