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

Side by Side Diff: runtime/vm/flow_graph_compiler_x64.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_mips.cc ('k') | no next file » | 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_X64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64.
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
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 1719 matching lines...) Expand 10 before | Expand all | Expand 10 after
1851 __ movups(reg, Address(RSP, 0)); 1851 __ movups(reg, Address(RSP, 0));
1852 __ AddImmediate(RSP, Immediate(kFpuRegisterSize)); 1852 __ AddImmediate(RSP, Immediate(kFpuRegisterSize));
1853 } 1853 }
1854 1854
1855 1855
1856 #undef __ 1856 #undef __
1857 1857
1858 } // namespace dart 1858 } // namespace dart
1859 1859
1860 #endif // defined TARGET_ARCH_X64 1860 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698