Revision: 21926
Author:   [email protected]
Date:     Mon Jun 23 09:52:05 2014 UTC
Log:      Turn assert into RUNTIME_ASSERT

[email protected]
BUG=

Review URL: https://codereview.chromium.org/350683003
http://code.google.com/p/v8/source/detail?r=21926

Modified:
 /branches/bleeding_edge/src/runtime.cc

=======================================
--- /branches/bleeding_edge/src/runtime.cc      Mon Jun 23 09:11:45 2014 UTC
+++ /branches/bleeding_edge/src/runtime.cc      Mon Jun 23 09:52:05 2014 UTC
@@ -2086,7 +2086,7 @@
   ASSERT(args.length() == 1);
   CONVERT_ARG_HANDLE_CHECKED(HeapObject, object, 0);
   Handle<Map> old_map(object->map());
-  ASSERT(!old_map->is_access_check_needed());
+  RUNTIME_ASSERT(!old_map->is_access_check_needed());
   // Copy map so it won't interfere constructor's initial map.
   Handle<Map> new_map = Map::Copy(old_map);
   new_map->set_is_access_check_needed(true);

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to