Skip to content

Commit 97ce138

Browse files
committed
Upgrade V8 to 1.3.9
1 parent 78bb53b commit 97ce138

File tree

106 files changed

+4662
-997
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+4662
-997
lines changed

deps/v8/ChangeLog

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
2009-09-02: Version 1.3.9
2+
3+
Optimized stack guard checks on ARM.
4+
5+
Optimized API operations by inlining more in the API.
6+
7+
Optimized creation of objects from simple constructor functions.
8+
9+
Enabled a number of missing optimizations in the 64-bit port.
10+
11+
Implemented native-code support for regular expressions on ARM.
12+
13+
Stopped using the 'sahf' instruction on 64-bit machines that do
14+
not support it.
15+
16+
Fixed a bug in the support for forceful termination of JavaScript
17+
execution.
18+
19+
20+
2009-08-26: Version 1.3.8
21+
22+
Changed the handling of idle notifications to allow idle
23+
notifications when V8 has not yet been initialized.
24+
25+
Fixed ARM simulator compilation problem on Windows.
26+
27+
128
2009-08-25: Version 1.3.7
229

330
Reduced the size of generated code on ARM platforms by reducing

deps/v8/SConstruct

Lines changed: 45 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,10 @@ LIBRARY_FLAGS = {
9999
'CPPDEFINES': ['ENABLE_LOGGING_AND_PROFILING'],
100100
'CPPPATH': [join(root_dir, 'src')],
101101
'regexp:native': {
102-
'arch:ia32' : {
103102
'CPPDEFINES': ['V8_NATIVE_REGEXP']
104-
},
105-
'arch:x64' : {
106-
'CPPDEFINES': ['V8_NATIVE_REGEXP']
107-
}
103+
},
104+
'mode:debug': {
105+
'CPPDEFINES': ['V8_ENABLE_CHECKS']
108106
}
109107
},
110108
'gcc': {
@@ -178,17 +176,25 @@ LIBRARY_FLAGS = {
178176
},
179177
'msvc': {
180178
'all': {
181-
'DIALECTFLAGS': ['/nologo'],
182179
'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'],
183180
'CXXFLAGS': ['$CCFLAGS', '/GR-', '/Gy'],
184-
'CPPDEFINES': ['WIN32', '_USE_32BIT_TIME_T'],
185-
'LINKFLAGS': ['/NOLOGO', '/MACHINE:X86', '/INCREMENTAL:NO',
186-
'/NXCOMPAT', '/IGNORE:4221'],
187-
'ARFLAGS': ['/NOLOGO'],
181+
'CPPDEFINES': ['WIN32'],
182+
'LINKFLAGS': ['/INCREMENTAL:NO', '/NXCOMPAT', '/IGNORE:4221'],
188183
'CCPDBFLAGS': ['/Zi']
189184
},
185+
'verbose:off': {
186+
'DIALECTFLAGS': ['/nologo'],
187+
'ARFLAGS': ['/NOLOGO']
188+
},
190189
'arch:ia32': {
191-
'CPPDEFINES': ['V8_TARGET_ARCH_IA32']
190+
'CPPDEFINES': ['V8_TARGET_ARCH_IA32', '_USE_32BIT_TIME_T'],
191+
'LINKFLAGS': ['/MACHINE:X86'],
192+
'ARFLAGS': ['/MACHINE:X86']
193+
},
194+
'arch:x64': {
195+
'CPPDEFINES': ['V8_TARGET_ARCH_X64'],
196+
'LINKFLAGS': ['/MACHINE:X64'],
197+
'ARFLAGS': ['/MACHINE:X64']
192198
},
193199
'mode:debug': {
194200
'CCFLAGS': ['/Od', '/Gm'],
@@ -250,11 +256,13 @@ V8_EXTRA_FLAGS = {
250256
},
251257
'msvc': {
252258
'all': {
253-
'WARNINGFLAGS': ['/W3', '/WX', '/wd4355', '/wd4800']
259+
'WARNINGFLAGS': ['/WX', '/wd4355', '/wd4800']
254260
},
255-
'library:shared': {
256-
'CPPDEFINES': ['BUILDING_V8_SHARED'],
257-
'LIBS': ['winmm', 'ws2_32']
261+
'arch:ia32': {
262+
'WARNINGFLAGS': ['/W3']
263+
},
264+
'arch:x64': {
265+
'WARNINGFLAGS': ['/W2']
258266
},
259267
'arch:arm': {
260268
'CPPDEFINES': ['V8_TARGET_ARCH_ARM'],
@@ -352,7 +360,10 @@ CCTEST_EXTRA_FLAGS = {
352360
},
353361
'arch:ia32': {
354362
'CPPDEFINES': ['V8_TARGET_ARCH_IA32']
355-
}
363+
},
364+
'arch:x64': {
365+
'CPPDEFINES': ['V8_TARGET_ARCH_X64']
366+
},
356367
}
357368
}
358369

@@ -417,10 +428,15 @@ SAMPLE_FLAGS = {
417428
},
418429
'msvc': {
419430
'all': {
420-
'CCFLAGS': ['/nologo'],
421-
'LINKFLAGS': ['/nologo'],
422431
'LIBS': ['winmm', 'ws2_32']
423432
},
433+
'verbose:off': {
434+
'CCFLAGS': ['/nologo'],
435+
'LINKFLAGS': ['/NOLOGO']
436+
},
437+
'verbose:on': {
438+
'LINKFLAGS': ['/VERBOSE']
439+
},
424440
'library:shared': {
425441
'CPPDEFINES': ['USING_V8_SHARED']
426442
},
@@ -442,7 +458,12 @@ SAMPLE_FLAGS = {
442458
}
443459
},
444460
'arch:ia32': {
445-
'CPPDEFINES': ['V8_TARGET_ARCH_IA32']
461+
'CPPDEFINES': ['V8_TARGET_ARCH_IA32'],
462+
'LINKFLAGS': ['/MACHINE:X86']
463+
},
464+
'arch:x64': {
465+
'CPPDEFINES': ['V8_TARGET_ARCH_X64'],
466+
'LINKFLAGS': ['/MACHINE:X64']
446467
},
447468
'mode:debug': {
448469
'CCFLAGS': ['/Od'],
@@ -585,6 +606,11 @@ SIMPLE_OPTIONS = {
585606
'values': ['dumb', 'readline'],
586607
'default': 'dumb',
587608
'help': 'the console to use for the d8 shell'
609+
},
610+
'verbose': {
611+
'values': ['on', 'off'],
612+
'default': 'off',
613+
'help': 'more output from compiler and linker'
588614
}
589615
}
590616

0 commit comments

Comments
 (0)