Added support for running tests on the ARM simulator.
Fixed bug in the 'in' operator where negative indices were not treated correctly.
Fixed build issues on gcc-4.3.1.
Changed Date.prototype.toLocaleTimeString to not print the timezone part of the time.
Renamed debug.h to v8-debug.h to reduce the risk of name conflicts with user code.
git-svn-id: http://v8.googlecode.com/svn/trunk@138 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/SConstruct b/SConstruct
index 6bb23ce..34f20d3 100644
--- a/SConstruct
+++ b/SConstruct
@@ -32,7 +32,7 @@
from os.path import join, dirname, abspath
root_dir = dirname(File('SConstruct').rfile().abspath)
sys.path.append(join(root_dir, 'tools'))
-import js2c
+import js2c, utils
LIBRARY_FLAGS = {
@@ -223,16 +223,6 @@
return None
-def GuessArchitecture():
- id = platform.machine()
- if id.startswith('arm'):
- return 'arm'
- elif (not id) or (not re.match('(x|i[3-6])86', id) is None):
- return 'ia32'
- else:
- return None
-
-
def GuessWordsize():
if '64' in platform.machine():
return '64'
@@ -252,7 +242,7 @@
OS_GUESS = GuessOS()
TOOLCHAIN_GUESS = GuessToolchain(OS_GUESS)
-ARCH_GUESS = GuessArchitecture()
+ARCH_GUESS = utils.GuessArchitecture()
WORDSIZE_GUESS = GuessWordsize()