Fixed building on Mac OS X by recognizing i386 and friends as IA-32 platforms.
Added propagation of stack overflow exceptions that occur while compiling nested functions.
Improved debugger with support for recursive break points and handling of exceptions that occur in the debugger JavaScript code.
Renamed GetInternal to GetInternalField and SetInternal to SetInternalField in the API and moved InternalFieldCount and SetInternalFieldCount from FunctionTemplate to ObjectTemplate.
git-svn-id: http://v8.googlecode.com/svn/trunk@5 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index 61e2b4d..2a78c5d 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -757,7 +757,6 @@
TemplateInfoVerify();
VerifyPointer(serial_number());
VerifyPointer(call_code());
- VerifyPointer(internal_field_count());
VerifyPointer(property_accessors());
VerifyPointer(prototype_template());
VerifyPointer(parent_template());
@@ -778,8 +777,6 @@
serial_number()->ShortPrint();
PrintF("\n - call_code: ");
call_code()->ShortPrint();
- PrintF("\n - internal_field_count: ");
- internal_field_count()->ShortPrint();
PrintF("\n - property_accessors: ");
property_accessors()->ShortPrint();
PrintF("\n - prototype_template: ");
@@ -805,12 +802,15 @@
CHECK(IsObjectTemplateInfo());
TemplateInfoVerify();
VerifyPointer(constructor());
+ VerifyPointer(internal_field_count());
}
void ObjectTemplateInfo::ObjectTemplateInfoPrint() {
PrintF("ObjectTemplateInfo");
- PrintF("\n - constructor");
+ PrintF("\n - constructor: ");
constructor()->ShortPrint();
+ PrintF("\n - internal_field_count: ");
+ internal_field_count()->ShortPrint();
}
void SignatureInfo::SignatureInfoVerify() {
@@ -821,9 +821,9 @@
void SignatureInfo::SignatureInfoPrint() {
PrintF("SignatureInfo");
- PrintF("\n - receiver");
+ PrintF("\n - receiver: ");
receiver()->ShortPrint();
- PrintF("\n - args");
+ PrintF("\n - args: ");
args()->ShortPrint();
}
@@ -834,7 +834,7 @@
void TypeSwitchInfo::TypeSwitchInfoPrint() {
PrintF("TypeSwitchInfo");
- PrintF("\n - types");
+ PrintF("\n - types: ");
types()->ShortPrint();
}