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

Unified Diff: runtime/vm/runtime_entry_ia32.cc

Issue 339183010: Specialize breakpoint stubs by set of live registers of the stubs they are intercepting. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/runtime_entry_ia32.cc
diff --git a/runtime/vm/runtime_entry_ia32.cc b/runtime/vm/runtime_entry_ia32.cc
index 160bf3c085db2e03bdc6984ffef9578bd8b404eb..f8a1433931c6d25685bfcbc75eeaa35296291b16 100644
--- a/runtime/vm/runtime_entry_ia32.cc
+++ b/runtime/vm/runtime_entry_ia32.cc
@@ -31,8 +31,9 @@ void RuntimeEntry::Call(Assembler* assembler, intptr_t argument_count) const {
} else {
// Argument count is not checked here, but in the runtime entry for a more
// informative error message.
+ ASSERT((GetEntryPoint() & kSmiTagMask) == 0);
__ movl(ECX, Immediate(GetEntryPoint()));
- __ movl(EDX, Immediate(Smi::RawValue(argument_count)));
+ __ movl(EDX, Immediate(argument_count));
__ call(&StubCode::CallToRuntimeLabel());
}
}

Powered by Google App Engine
This is Rietveld 408576698