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

Unified Diff: runtime/vm/simulator_mips.cc

Issue 18704006: Removes checks for stack overflow from arm and mips simulators (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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
« no previous file with comments | « runtime/vm/simulator_arm.cc ('k') | tests/language/language.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/simulator_mips.cc
===================================================================
--- runtime/vm/simulator_mips.cc (revision 24960)
+++ runtime/vm/simulator_mips.cc (working copy)
@@ -1007,12 +1007,8 @@
OS::Print("Call to host function at 0x%"Pd"\n", external);
}
- if ((redirection->call_kind() == kRuntimeCall) ||
- (redirection->call_kind() == kNativeCall)) {
- // The top_exit_frame_info of the current isolate points to the top of
- // the simulator stack.
- ASSERT((StackTop() - Isolate::Current()->top_exit_frame_info()) <
- Isolate::GetSpecifiedStackSize());
+ if ((redirection->call_kind() == kRuntimeCall) ||
+ (redirection->call_kind() == kNativeCall)) {
// Set the top_exit_frame_info of this simulator to the native stack.
set_top_exit_frame_info(reinterpret_cast<uword>(&buffer));
}
« no previous file with comments | « runtime/vm/simulator_arm.cc ('k') | tests/language/language.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698