Author: [EMAIL PROTECTED]
Date: Thu Oct 30 04:38:22 2008
New Revision: 654
Modified:
branches/bleeding_edge/src/runtime.cc
Log:
Move assertion that might cause garbage collections to before
extracting raw pointers.
Review URL: http://codereview.chromium.org/8913
Modified: branches/bleeding_edge/src/runtime.cc
==============================================================================
--- branches/bleeding_edge/src/runtime.cc (original)
+++ branches/bleeding_edge/src/runtime.cc Thu Oct 30 04:38:22 2008
@@ -3439,8 +3439,8 @@
// If the holder is found, we read the property from it.
if (!holder.is_null() && holder->IsJSObject()) {
+ ASSERT(Handle<JSObject>::cast(holder)->HasProperty(*name));
JSObject* object = JSObject::cast(*holder);
- ASSERT(object->HasProperty(*name));
JSObject* receiver = (object->IsGlobalObject())
? GlobalObject::cast(object)->global_receiver()
: ComputeReceiverForNonGlobal(object);
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---