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

Unified Diff: runtime/vm/flow_graph_compiler_x64.cc

Issue 738453002: Add missing verified write on x64; extend test coverage (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/assembler_x64.cc ('k') | runtime/vm/intermediate_language_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_x64.cc
===================================================================
--- runtime/vm/flow_graph_compiler_x64.cc (revision 41792)
+++ runtime/vm/flow_graph_compiler_x64.cc (working copy)
@@ -1271,6 +1271,7 @@
#endif // DEBUG
__ IncrementSmiField(FieldAddress(RAX, Array::element_offset(0)), 1);
#if defined(DEBUG)
+ // If the assertion below fails, update EdgeCounterIncrementSizeInBytes.
intptr_t expected = EdgeCounterIncrementSizeInBytes();
intptr_t actual = assembler_->CodeSize() - increment_start;
if (actual != expected) {
@@ -1283,6 +1284,7 @@
int32_t FlowGraphCompiler::EdgeCounterIncrementSizeInBytes() {
+ // Used by CodePatcher; so must be constant across all code in an isolate.
return VerifiedMemory::enabled() ? 73 : 5;
}
« no previous file with comments | « runtime/vm/assembler_x64.cc ('k') | runtime/vm/intermediate_language_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698