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

Side by Side Diff: runtime/vm/flow_graph_compiler_arm64.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/flow_graph_compiler_arm.cc ('k') | runtime/vm/flow_graph_compiler_ia32.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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // Emit all kMaterializeObject instructions describing objects to be 111 // Emit all kMaterializeObject instructions describing objects to be
112 // materialized on the deoptimization as a prefix to the deoptimization info. 112 // materialized on the deoptimization as a prefix to the deoptimization info.
113 EmitMaterializations(deopt_env_, builder); 113 EmitMaterializations(deopt_env_, builder);
114 114
115 // The real frame starts here. 115 // The real frame starts here.
116 builder->MarkFrameStart(); 116 builder->MarkFrameStart();
117 117
118 Zone* zone = compiler->zone(); 118 Zone* zone = compiler->zone();
119 119
120 builder->AddPp(current->function(), slot_ix++); 120 builder->AddPp(current->function(), slot_ix++);
121 builder->AddPcMarker(Function::Handle(zone), slot_ix++); 121 builder->AddPcMarker(Function::ZoneHandle(zone), slot_ix++);
122 builder->AddCallerFp(slot_ix++); 122 builder->AddCallerFp(slot_ix++);
123 builder->AddReturnAddress(current->function(), deopt_id(), slot_ix++); 123 builder->AddReturnAddress(current->function(), deopt_id(), slot_ix++);
124 124
125 // Emit all values that are needed for materialization as a part of the 125 // Emit all values that are needed for materialization as a part of the
126 // expression stack for the bottom-most frame. This guarantees that GC 126 // expression stack for the bottom-most frame. This guarantees that GC
127 // will be able to find them during materialization. 127 // will be able to find them during materialization.
128 slot_ix = builder->EmitMaterializationArguments(slot_ix); 128 slot_ix = builder->EmitMaterializationArguments(slot_ix);
129 129
130 // For the innermost environment, set outgoing arguments and the locals. 130 // For the innermost environment, set outgoing arguments and the locals.
131 for (intptr_t i = current->Length() - 1; 131 for (intptr_t i = current->Length() - 1;
(...skipping 1782 matching lines...) Expand 10 before | Expand all | Expand 10 after
1914 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { 1914 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) {
1915 __ PopDouble(reg); 1915 __ PopDouble(reg);
1916 } 1916 }
1917 1917
1918 1918
1919 #undef __ 1919 #undef __
1920 1920
1921 } // namespace dart 1921 } // namespace dart
1922 1922
1923 #endif // defined TARGET_ARCH_ARM64 1923 #endif // defined TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm.cc ('k') | runtime/vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698