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

Unified Diff: src/runtime.cc

Issue 7029030: Use page header information to test for InNewSpace. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 7 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/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index b205692b7853d3de1ae0dbd6d3434fec939121b2..16d109e4eef548203efa42ef5b994df822e048ca 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -592,6 +592,8 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_CreateCatchExtensionObject) {
ASSERT(args.length() == 2);
CONVERT_CHECKED(String, key, args[0]);
Object* value = args[1];
+ if (value->IsFailure()) { OS::DebugBreak(); }
Erik Corry 2011/05/19 07:22:32 This looks like an accidental edit.
Lasse Reichstein 2011/05/19 08:40:40 Ack, yes. Shouldn't happen any more. I'll keep the
+ RUNTIME_ASSERT(!value->IsFailure());
// Create a catch context extension object.
JSFunction* constructor =
isolate->context()->global_context()->

Powered by Google App Engine
This is Rietveld 408576698