From 381616fb7006f370c2c887a06477ade0a13ce35a Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Tue, 30 Sep 2014 08:23:02 +0000 Subject: [PATCH] Split even more runtime functions into separate files. R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/612023002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24307 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- BUILD.gn | 4 + src/debug.h | 4 + src/objects-inl.h | 13 + src/objects.h | 3 + src/runtime/runtime-compiler.cc | 2 - src/runtime/runtime-date.cc | 190 ++ src/runtime/runtime-debug.cc | 2736 ++++++++++++++++++++++++++++ src/runtime/runtime-generator.cc | 230 +++ src/runtime/runtime-liveedit.cc | 293 +++ src/runtime/runtime-test.cc | 77 + src/runtime/runtime-utils.h | 4 + src/runtime/runtime.cc | 3648 +------------------------------------- tools/gyp/v8.gyp | 4 + 13 files changed, 3636 insertions(+), 3572 deletions(-) create mode 100644 src/runtime/runtime-date.cc create mode 100644 src/runtime/runtime-debug.cc create mode 100644 src/runtime/runtime-generator.cc create mode 100644 src/runtime/runtime-liveedit.cc diff --git a/BUILD.gn b/BUILD.gn index 4a9f080..cbb9cdf 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -827,7 +827,11 @@ source_set("v8_base") { "src/runtime/runtime-collections.cc", "src/runtime/runtime-compiler.cc", "src/runtime/runtime-i18n.cc", + "src/runtime/runtime-date.cc", + "src/runtime/runtime-debug.cc", + "src/runtime/runtime-generator.cc", "src/runtime/runtime-json.cc", + "src/runtime/runtime-liveedit.cc", "src/runtime/runtime-maths.cc", "src/runtime/runtime-numbers.cc", "src/runtime/runtime-regexp.cc", diff --git a/src/debug.h b/src/debug.h index a5119d0..7e792b6 100644 --- a/src/debug.h +++ b/src/debug.h @@ -454,6 +454,10 @@ class Debug { // Record function from which eval was called. static void RecordEvalCaller(Handle