Index: src/SConscript |
diff --git a/src/SConscript b/src/SConscript |
index 3a01dd2ec44214323a53700ef0abdd47008d3bc8..3b9968eeddf730ce4af360713526a334e74948a6 100755 |
--- a/src/SConscript |
+++ b/src/SConscript |
@@ -163,18 +163,23 @@ SOURCES = { |
arm/assembler-arm.cc |
"""), |
'arch:mips': Split(""" |
+ jump-target-light.cc |
+ virtual-frame-light.cc |
mips/assembler-mips.cc |
mips/builtins-mips.cc |
+ mips/code-stubs-mips.cc |
mips/codegen-mips.cc |
mips/constants-mips.cc |
mips/cpu-mips.cc |
mips/debug-mips.cc |
+ mips/deoptimizer-mips.cc |
mips/disasm-mips.cc |
- mips/full-codegen-mips.cc |
mips/frames-mips.cc |
+ mips/full-codegen-mips.cc |
mips/ic-mips.cc |
mips/jump-target-mips.cc |
mips/macro-assembler-mips.cc |
+ mips/regexp-macro-assembler-mips.cc |
mips/register-allocator-mips.cc |
mips/stub-cache-mips.cc |
mips/virtual-frame-mips.cc |
@@ -245,6 +250,20 @@ SOURCES = { |
} |
+PREPARSER_SOURCES = { |
+ 'all': Split(""" |
+ allocation.cc |
+ hashmap.cc |
+ preparse-data.cc |
+ preparser.cc |
+ preparser-api.cc |
+ scanner-base.cc |
+ token.cc |
+ unicode.cc |
+ """) |
+} |
+ |
+ |
D8_FILES = { |
'all': [ |
'd8.cc', 'd8-debug.cc' |
@@ -330,6 +349,9 @@ def ConfigureObjectFiles(): |
source_objs = context.ConfigureObject(env, source_files) |
non_snapshot_files = [source_objs] |
+ preparser_source_files = context.GetRelevantSources(PREPARSER_SOURCES) |
+ preparser_objs = context.ConfigureObject(env, preparser_source_files) |
+ |
# Create snapshot if necessary. For cross compilation you should either |
# do without snapshots and take the performance hit or you should build a |
# host VM with the simulator=arm and snapshot=on options and then take the |
@@ -350,8 +372,8 @@ def ConfigureObjectFiles(): |
else: |
snapshot_obj = empty_snapshot_obj |
library_objs = [non_snapshot_files, libraries_obj, snapshot_obj] |
- return (library_objs, d8_objs, [mksnapshot]) |
+ return (library_objs, d8_objs, [mksnapshot], preparser_objs) |
-(library_objs, d8_objs, mksnapshot) = ConfigureObjectFiles() |
-Return('library_objs d8_objs mksnapshot') |
+(library_objs, d8_objs, mksnapshot, preparser_objs) = ConfigureObjectFiles() |
+Return('library_objs d8_objs mksnapshot preparser_objs') |