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

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

Issue 1847623002: Ensure deoptimizing frames have a valid pc marker before deferred materialization. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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/stub_code_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" 5 #include "vm/globals.h"
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
7 7
8 #include "vm/assembler.h" 8 #include "vm/assembler.h"
9 #include "vm/compiler.h" 9 #include "vm/compiler.h"
10 #include "vm/dart_entry.h" 10 #include "vm/dart_entry.h"
(...skipping 2202 matching lines...) Expand 10 before | Expand all | Expand 10 after
2213 __ movq(CODE_REG, Address(R13, code_offset)); 2213 __ movq(CODE_REG, Address(R13, code_offset));
2214 __ ret(); 2214 __ ret();
2215 2215
2216 __ Bind(&miss); 2216 __ Bind(&miss);
2217 __ LoadIsolate(RAX); 2217 __ LoadIsolate(RAX);
2218 __ movq(CODE_REG, Address(RAX, Isolate::ic_miss_code_offset())); 2218 __ movq(CODE_REG, Address(RAX, Isolate::ic_miss_code_offset()));
2219 __ movq(RCX, FieldAddress(CODE_REG, Code::entry_point_offset())); 2219 __ movq(RCX, FieldAddress(CODE_REG, Code::entry_point_offset()));
2220 __ ret(); 2220 __ ret();
2221 } 2221 }
2222 2222
2223
2224 void StubCode::GenerateFrameAwaitingMaterializationStub(Assembler* assembler) {
2225 __ int3();
2226 }
2227
2223 } // namespace dart 2228 } // namespace dart
2224 2229
2225 #endif // defined TARGET_ARCH_X64 2230 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/stub_code_mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698