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/SConstruct b/SConstruct
index 81f2bf0..b31e65f 100644
--- a/SConstruct
+++ b/SConstruct
@@ -26,6 +26,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import platform
+import re
import sys
from os.path import join, dirname, abspath
root_dir = dirname(File('SConstruct').rfile().abspath)
@@ -47,17 +48,17 @@
elif id == 'Windows':
return 'win32'
else:
- Abort("Don't know how to build v8 for OS '%s'." % id)
+ return '<none>'
def GuessProcessor():
id = platform.machine()
if id.startswith('arm'):
return 'arm'
- elif (not id) or id.startswith('x86'):
+ elif (not id) or (not re.match('(x|i[3-6])86', id) is None):
return 'ia32'
else:
- Abort("Don't know how to build v8 for processor '%s'." % id)
+ return '<none>'
def GuessToolchain(os):
@@ -70,8 +71,7 @@
elif 'msvc' in tools:
return 'msvc'
else:
- tools = ', '.join(tools)
- Abort("Don't know how to build v8 using these tools: %s" % tools)
+ return '<none>'
def GetOptions():