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

Unified Diff: src/debug.cc

Issue 10263002: Fix issue 825 (LiveEdit vs. function with no locals) in core and for ia32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: style Created 8 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 side-by-side diff with in-line comments
Download patch
Index: src/debug.cc
diff --git a/src/debug.cc b/src/debug.cc
index 99256ba21a88a8510978e5578ab0c4f541982b0a..219c2afacfea343890a69f3442de0a5b04907a08 100644
--- a/src/debug.cc
+++ b/src/debug.cc
@@ -2227,6 +2227,13 @@ void Debug::FramesHaveBeenDropped(StackFrame::Id new_break_frame_id,
}
+const int Debug::FramePaddingLayout::kInitialSize = 1;
+
+
+// Any even value bigger than (kInitialSize * 2), as needed for stack scanning.
+const int Debug::FramePaddingLayout::kPaddingValue = (kInitialSize + 1) * 2;
Yang 2012/05/02 11:38:34 Use Smi::FromInt to get tagged smi values since x6
Peter Rybin 2012/05/02 23:46:33 Done
+
+
bool Debug::IsDebugGlobal(GlobalObject* global) {
return IsLoaded() && global == debug_context()->global();
}

Powered by Google App Engine
This is Rietveld 408576698