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

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

Issue 1846063002: - Fix the hash code for raw objects that are added into the object pool (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix Created 4 years, 8 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/deopt_instructions.cc ('k') | runtime/vm/flow_graph_compiler_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) 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_ARM. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM.
6 #if defined(TARGET_ARCH_ARM) 6 #if defined(TARGET_ARCH_ARM)
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // Emit all kMaterializeObject instructions describing objects to be 114 // Emit all kMaterializeObject instructions describing objects to be
115 // materialized on the deoptimization as a prefix to the deoptimization info. 115 // materialized on the deoptimization as a prefix to the deoptimization info.
116 EmitMaterializations(deopt_env_, builder); 116 EmitMaterializations(deopt_env_, builder);
117 117
118 // The real frame starts here. 118 // The real frame starts here.
119 builder->MarkFrameStart(); 119 builder->MarkFrameStart();
120 120
121 Zone* zone = compiler->zone(); 121 Zone* zone = compiler->zone();
122 122
123 builder->AddPp(current->function(), slot_ix++); 123 builder->AddPp(current->function(), slot_ix++);
124 builder->AddPcMarker(Function::Handle(zone), slot_ix++); 124 builder->AddPcMarker(Function::ZoneHandle(zone), slot_ix++);
125 builder->AddCallerFp(slot_ix++); 125 builder->AddCallerFp(slot_ix++);
126 builder->AddReturnAddress(current->function(), deopt_id(), slot_ix++); 126 builder->AddReturnAddress(current->function(), deopt_id(), slot_ix++);
127 127
128 // Emit all values that are needed for materialization as a part of the 128 // Emit all values that are needed for materialization as a part of the
129 // expression stack for the bottom-most frame. This guarantees that GC 129 // expression stack for the bottom-most frame. This guarantees that GC
130 // will be able to find them during materialization. 130 // will be able to find them during materialization.
131 slot_ix = builder->EmitMaterializationArguments(slot_ix); 131 slot_ix = builder->EmitMaterializationArguments(slot_ix);
132 132
133 // For the innermost environment, set outgoing arguments and the locals. 133 // For the innermost environment, set outgoing arguments and the locals.
134 for (intptr_t i = current->Length() - 1; 134 for (intptr_t i = current->Length() - 1;
(...skipping 1842 matching lines...) Expand 10 before | Expand all | Expand 10 after
1977 DRegister dreg = EvenDRegisterOf(reg); 1977 DRegister dreg = EvenDRegisterOf(reg);
1978 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); 1978 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex));
1979 } 1979 }
1980 1980
1981 1981
1982 #undef __ 1982 #undef __
1983 1983
1984 } // namespace dart 1984 } // namespace dart
1985 1985
1986 #endif // defined TARGET_ARCH_ARM 1986 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/deopt_instructions.cc ('k') | runtime/vm/flow_graph_compiler_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698