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

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

Issue 15563007: Remove an unnecessary setter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
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 "lib/error.h" 10 #include "lib/error.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 void CompilerDeoptInfoWithStub::GenerateCode(FlowGraphCompiler* compiler, 53 void CompilerDeoptInfoWithStub::GenerateCode(FlowGraphCompiler* compiler,
54 intptr_t stub_ix) { 54 intptr_t stub_ix) {
55 // Calls do not need stubs, they share a deoptimization trampoline. 55 // Calls do not need stubs, they share a deoptimization trampoline.
56 ASSERT(reason() != kDeoptAtCall); 56 ASSERT(reason() != kDeoptAtCall);
57 Assembler* assem = compiler->assembler(); 57 Assembler* assem = compiler->assembler();
58 #define __ assem-> 58 #define __ assem->
59 __ Comment("Deopt stub for id %"Pd"", deopt_id()); 59 __ Comment("Deopt stub for id %"Pd"", deopt_id());
60 __ Bind(entry_label()); 60 __ Bind(entry_label());
61 if (FLAG_trap_on_deoptimization) __ break_(0); 61 if (FLAG_trap_on_deoptimization) __ break_(0);
62 62
63 ASSERT(deoptimization_env() != NULL); 63 ASSERT(deopt_env() != NULL);
64 64
65 __ BranchLink(&StubCode::DeoptimizeLabel()); 65 __ BranchLink(&StubCode::DeoptimizeLabel());
66 set_pc_offset(assem->CodeSize()); 66 set_pc_offset(assem->CodeSize());
67 __ break_(0); // TODO(regis): Remove breakpoint to save space. 67 __ break_(0); // TODO(regis): Remove breakpoint to save space.
68 #undef __ 68 #undef __
69 } 69 }
70 70
71 71
72 #define __ assembler()-> 72 #define __ assembler()->
73 73
(...skipping 1505 matching lines...) Expand 10 before | Expand all | Expand 10 after
1579 __ AddImmediate(SP, kDoubleSize); 1579 __ AddImmediate(SP, kDoubleSize);
1580 } 1580 }
1581 1581
1582 1582
1583 #undef __ 1583 #undef __
1584 1584
1585 1585
1586 } // namespace dart 1586 } // namespace dart
1587 1587
1588 #endif // defined TARGET_ARCH_MIPS 1588 #endif // defined TARGET_ARCH_MIPS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698