Debugger: move implementation to a separate folder.

R=cbruni@chromium.org

Review URL: https://codereview.chromium.org/1265923002

Cr-Commit-Position: refs/heads/master@{#29951}
This commit is contained in:
yangguo 2015-07-31 04:07:50 -07:00 committed by Commit bot
parent b4cfd60e07
commit 1667c15e37
100 changed files with 155 additions and 133 deletions

View File

@ -227,12 +227,12 @@ action("js2c") {
"src/json.js",
"src/array-iterator.js",
"src/string-iterator.js",
"src/debug-debugger.js",
"src/mirror-debugger.js",
"src/liveedit-debugger.js",
"src/templates.js",
"src/harmony-array.js",
"src/harmony-typedarray.js",
"src/debug/debug.js",
"src/debug/mirrors.js",
"src/debug/liveedit.js",
]
outputs = [
@ -834,8 +834,10 @@ source_set("v8_base") {
"src/dateparser-inl.h",
"src/dateparser.cc",
"src/dateparser.h",
"src/debug.cc",
"src/debug.h",
"src/debug/debug.cc",
"src/debug/debug.h",
"src/debug/liveedit.cc",
"src/debug/liveedit.h",
"src/deoptimizer.cc",
"src/deoptimizer.h",
"src/disasm.h",
@ -1021,8 +1023,6 @@ source_set("v8_base") {
"src/lithium-codegen.h",
"src/lithium.cc",
"src/lithium.h",
"src/liveedit.cc",
"src/liveedit.h",
"src/log-inl.h",
"src/log-utils.cc",
"src/log-utils.h",
@ -1199,7 +1199,6 @@ source_set("v8_base") {
"src/ia32/codegen-ia32.cc",
"src/ia32/codegen-ia32.h",
"src/ia32/cpu-ia32.cc",
"src/ia32/debug-ia32.cc",
"src/ia32/deoptimizer-ia32.cc",
"src/ia32/disasm-ia32.cc",
"src/ia32/frames-ia32.cc",
@ -1219,6 +1218,7 @@ source_set("v8_base") {
"src/compiler/ia32/instruction-codes-ia32.h",
"src/compiler/ia32/instruction-selector-ia32.cc",
"src/compiler/ia32/linkage-ia32.cc",
"src/debug/ia32/debug-ia32.cc",
"src/full-codegen/ia32/full-codegen-ia32.cc",
"src/ic/ia32/access-compiler-ia32.cc",
"src/ic/ia32/handler-compiler-ia32.cc",
@ -1237,7 +1237,6 @@ source_set("v8_base") {
"src/x64/codegen-x64.cc",
"src/x64/codegen-x64.h",
"src/x64/cpu-x64.cc",
"src/x64/debug-x64.cc",
"src/x64/deoptimizer-x64.cc",
"src/x64/disasm-x64.cc",
"src/x64/frames-x64.cc",
@ -1257,6 +1256,7 @@ source_set("v8_base") {
"src/compiler/x64/instruction-codes-x64.h",
"src/compiler/x64/instruction-selector-x64.cc",
"src/compiler/x64/linkage-x64.cc",
"src/debug/x64/debug-x64.cc",
"src/full-codegen/x64/full-codegen-x64.cc",
"src/ic/x64/access-compiler-x64.cc",
"src/ic/x64/handler-compiler-x64.cc",
@ -1277,7 +1277,6 @@ source_set("v8_base") {
"src/arm/constants-arm.h",
"src/arm/constants-arm.cc",
"src/arm/cpu-arm.cc",
"src/arm/debug-arm.cc",
"src/arm/deoptimizer-arm.cc",
"src/arm/disasm-arm.cc",
"src/arm/frames-arm.cc",
@ -1300,6 +1299,7 @@ source_set("v8_base") {
"src/compiler/arm/instruction-codes-arm.h",
"src/compiler/arm/instruction-selector-arm.cc",
"src/compiler/arm/linkage-arm.cc",
"src/debug/arm/debug-arm.cc",
"src/full-codegen/arm/full-codegen-arm.cc",
"src/ic/arm/access-compiler-arm.cc",
"src/ic/arm/handler-compiler-arm.cc",
@ -1319,7 +1319,6 @@ source_set("v8_base") {
"src/arm64/code-stubs-arm64.h",
"src/arm64/constants-arm64.h",
"src/arm64/cpu-arm64.cc",
"src/arm64/debug-arm64.cc",
"src/arm64/decoder-arm64.cc",
"src/arm64/decoder-arm64.h",
"src/arm64/decoder-arm64-inl.h",
@ -1353,6 +1352,7 @@ source_set("v8_base") {
"src/compiler/arm64/instruction-codes-arm64.h",
"src/compiler/arm64/instruction-selector-arm64.cc",
"src/compiler/arm64/linkage-arm64.cc",
"src/debug/arm64/debug-arm64.cc",
"src/full-codegen/arm64/full-codegen-arm64.cc",
"src/ic/arm64/access-compiler-arm64.cc",
"src/ic/arm64/handler-compiler-arm64.cc",
@ -1373,7 +1373,6 @@ source_set("v8_base") {
"src/mips/constants-mips.cc",
"src/mips/constants-mips.h",
"src/mips/cpu-mips.cc",
"src/mips/debug-mips.cc",
"src/mips/deoptimizer-mips.cc",
"src/mips/disasm-mips.cc",
"src/mips/frames-mips.cc",
@ -1395,6 +1394,7 @@ source_set("v8_base") {
"src/compiler/mips/instruction-codes-mips.h",
"src/compiler/mips/instruction-selector-mips.cc",
"src/compiler/mips/linkage-mips.cc",
"src/debug/mips/debug-mips.cc",
"src/full-codegen/mips/full-codegen-mips.cc",
"src/ic/mips/access-compiler-mips.cc",
"src/ic/mips/handler-compiler-mips.cc",
@ -1415,7 +1415,6 @@ source_set("v8_base") {
"src/mips64/constants-mips64.cc",
"src/mips64/constants-mips64.h",
"src/mips64/cpu-mips64.cc",
"src/mips64/debug-mips64.cc",
"src/mips64/deoptimizer-mips64.cc",
"src/mips64/disasm-mips64.cc",
"src/mips64/frames-mips64.cc",
@ -1433,6 +1432,7 @@ source_set("v8_base") {
"src/mips64/regexp-macro-assembler-mips64.h",
"src/mips64/simulator-mips64.cc",
"src/mips64/simulator-mips64.h",
"src/debug/mips64/debug-mips64.cc",
"src/full-codegen/mips64/full-codegen-mips64.cc",
"src/ic/mips64/access-compiler-mips64.cc",
"src/ic/mips64/handler-compiler-mips64.cc",

View File

@ -40,7 +40,7 @@
'filepath': 'src/snapshot/',
},
'debugger': {
'filepath': 'src/debug\.(cc|h)|src/.*-debugger\.js|src/runtime/runtime-debug\.cc',
'filepath': 'src/debug/',
},
},

View File

@ -26,7 +26,7 @@
#include "src/conversions-inl.h"
#include "src/counters.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/deoptimizer.h"
#include "src/execution.h"
#include "src/global-handles.h"

View File

@ -40,7 +40,7 @@
#include "src/arm/assembler-arm.h"
#include "src/assembler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
namespace v8 {

View File

@ -7,7 +7,7 @@
#if V8_TARGET_ARCH_ARM
#include "src/codegen.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/deoptimizer.h"
#include "src/full-codegen/full-codegen.h"
#include "src/interpreter/bytecodes.h"

View File

@ -13,7 +13,7 @@
#include "src/bootstrapper.h"
#include "src/codegen.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/runtime/runtime.h"
namespace v8 {

View File

@ -7,7 +7,7 @@
#include "src/arm64/assembler-arm64.h"
#include "src/assembler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
namespace v8 {

View File

@ -7,7 +7,7 @@
#if V8_TARGET_ARCH_ARM64
#include "src/codegen.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/deoptimizer.h"
#include "src/full-codegen/full-codegen.h"
#include "src/runtime/runtime.h"

View File

@ -11,7 +11,7 @@
#include "src/bootstrapper.h"
#include "src/codegen.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/runtime/runtime.h"
namespace v8 {

View File

@ -45,7 +45,7 @@
#include "src/codegen.h"
#include "src/counters.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/deoptimizer.h"
#include "src/execution.h"
#include "src/ic/ic.h"

View File

@ -6,7 +6,7 @@
#include "src/base/lazy-instance.h"
#include "src/base/platform/platform.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/isolate.h"
#include "src/utils.h"

View File

@ -3,7 +3,7 @@
// found in the LICENSE file.
#include "src/background-parsing-task.h"
#include "src/debug.h"
#include "src/debug/debug.h"
namespace v8 {
namespace internal {

View File

@ -11,7 +11,7 @@
#include "src/codegen.h"
#include "src/compiler.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/parser.h"
#include "src/prettyprinter.h"
#include "src/rewriter.h"

View File

@ -12,13 +12,13 @@
#include "src/compilation-cache.h"
#include "src/compiler/pipeline.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/debug/liveedit.h"
#include "src/deoptimizer.h"
#include "src/full-codegen/full-codegen.h"
#include "src/gdb-jit.h"
#include "src/hydrogen.h"
#include "src/lithium.h"
#include "src/liveedit.h"
#include "src/messages.h"
#include "src/parser.h"
#include "src/prettyprinter.h"

View File

@ -5,7 +5,7 @@
#include "src/v8.h"
#include "src/bootstrapper.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/scopeinfo.h"
namespace v8 {

4
src/debug/OWNERS Normal file
View File

@ -0,0 +1,4 @@
mvstanton@chromium.org
ulan@chromium.org
verwaest@chromium.org
yangguo@chromium.org

1
src/debug/arm/OWNERS Normal file
View File

@ -0,0 +1 @@
rmcilroy@chromium.org

View File

@ -7,7 +7,7 @@
#if V8_TARGET_ARCH_ARM
#include "src/codegen.h"
#include "src/debug.h"
#include "src/debug/debug.h"
namespace v8 {
namespace internal {

1
src/debug/arm64/OWNERS Normal file
View File

@ -0,0 +1 @@
rmcilroy@chromium.org

View File

@ -7,7 +7,7 @@
#if V8_TARGET_ARCH_ARM64
#include "src/codegen.h"
#include "src/debug.h"
#include "src/debug/debug.h"
namespace v8 {
namespace internal {

View File

@ -4,6 +4,8 @@
#include "src/v8.h"
#include "src/debug/debug.h"
#include "src/api.h"
#include "src/arguments.h"
#include "src/bootstrapper.h"
@ -11,7 +13,6 @@
#include "src/codegen.h"
#include "src/compilation-cache.h"
#include "src/compiler.h"
#include "src/debug.h"
#include "src/deoptimizer.h"
#include "src/execution.h"
#include "src/full-codegen/full-codegen.h"
@ -525,7 +526,7 @@ bool Debug::Load() {
// Compile the JavaScript for the debugger in the debugger context.
bool caught_exception =
!CompileDebuggerScript(isolate_, Natives::GetIndex("mirror")) ||
!CompileDebuggerScript(isolate_, Natives::GetIndex("mirrors")) ||
!CompileDebuggerScript(isolate_, Natives::GetIndex("debug"));
if (FLAG_enable_liveedit) {
@ -718,7 +719,7 @@ bool Debug::CheckBreakPoint(Handle<Object> break_point_object) {
// Ignore check if break point object is not a JSObject.
if (!break_point_object->IsJSObject()) return true;
// Get the function IsBreakPointTriggered (defined in debug-debugger.js).
// Get the function IsBreakPointTriggered (defined in debug.js).
Handle<String> is_break_point_triggered_string =
factory->InternalizeOneByteString(
STATIC_CHAR_VECTOR("IsBreakPointTriggered"));
@ -2059,7 +2060,7 @@ void Debug::OnAfterCompile(Handle<Script> script) {
// If debugging there might be script break points registered for this
// script. Make sure that these break points are set.
// Get the function UpdateScriptBreakPoints (defined in debug-debugger.js).
// Get the function UpdateScriptBreakPoints (defined in debug.js).
Handle<String> update_script_break_points_string =
isolate_->factory()->InternalizeOneByteString(
STATIC_CHAR_VECTOR("UpdateScriptBreakPoints"));

View File

@ -2,20 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_DEBUG_H_
#define V8_DEBUG_H_
#ifndef V8_DEBUG_DEBUG_H_
#define V8_DEBUG_DEBUG_H_
#include "src/allocation.h"
#include "src/arguments.h"
#include "src/assembler.h"
#include "src/base/atomicops.h"
#include "src/base/platform/platform.h"
#include "src/debug/liveedit.h"
#include "src/execution.h"
#include "src/factory.h"
#include "src/flags.h"
#include "src/frames-inl.h"
#include "src/hashmap.h"
#include "src/liveedit.h"
#include "src/runtime/runtime.h"
#include "src/string-stream.h"
#include "src/v8threads.h"
@ -56,7 +56,7 @@ enum BreakLocatorType { ALL_BREAK_LOCATIONS, CALLS_AND_RETURNS };
// The different types of breakpoint position alignments.
// Must match Debug.BreakPositionAlignment in debug-debugger.js
// Must match Debug.BreakPositionAlignment in debug.js
enum BreakPositionAlignment {
STATEMENT_ALIGNED = 0,
BREAK_POSITION_ALIGNED = 1
@ -792,4 +792,4 @@ class DebugCodegen : public AllStatic {
} } // namespace v8::internal
#endif // V8_DEBUG_H_
#endif // V8_DEBUG_DEBUG_H_

View File

@ -7,7 +7,7 @@
#if V8_TARGET_ARCH_IA32
#include "src/codegen.h"
#include "src/debug.h"
#include "src/debug/debug.h"
namespace v8 {

View File

@ -5,12 +5,12 @@
#include "src/v8.h"
#include "src/liveedit.h"
#include "src/debug/liveedit.h"
#include "src/code-stubs.h"
#include "src/compilation-cache.h"
#include "src/compiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/deoptimizer.h"
#include "src/global-handles.h"
#include "src/messages.h"

View File

@ -2,9 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_LIVEEDIT_H_
#define V8_LIVEEDIT_H_
#ifndef V8_DEBUG_LIVEEDIT_H_
#define V8_DEBUG_LIVEEDIT_H_
// Live Edit feature implementation.
@ -126,7 +125,7 @@ class LiveEdit : AllStatic {
// Return error message or NULL.
static const char* RestartFrame(JavaScriptFrame* frame);
// A copy of this is in liveedit-debugger.js.
// A copy of this is in liveedit.js.
enum FunctionPatchabilityStatus {
FUNCTION_AVAILABLE_FOR_PATCH = 1,
FUNCTION_BLOCKED_ON_ACTIVE_STACK = 2,
@ -369,4 +368,4 @@ class SharedInfoWrapper : public JSArrayBasedStruct<SharedInfoWrapper> {
} } // namespace v8::internal
#endif /* V*_LIVEEDIT_H_ */
#endif /* V8_DEBUG_LIVEEDIT_H_ */

View File

@ -3,7 +3,7 @@
// found in the LICENSE file.
// LiveEdit feature implementation. The script should be executed after
// debug-debugger.js.
// debug.js.
// A LiveEdit namespace. It contains functions that modifies JavaScript code
// according to changes of script source (if possible).

5
src/debug/mips/OWNERS Normal file
View File

@ -0,0 +1,5 @@
paul.lind@imgtec.com
gergely.kis@imgtec.com
akos.palfi@imgtec.com
balazs.kilvady@imgtec.com
dusan.milosavljevic@imgtec.com

View File

@ -9,7 +9,7 @@
#if V8_TARGET_ARCH_MIPS
#include "src/codegen.h"
#include "src/debug.h"
#include "src/debug/debug.h"
namespace v8 {
namespace internal {

5
src/debug/mips64/OWNERS Normal file
View File

@ -0,0 +1,5 @@
paul.lind@imgtec.com
gergely.kis@imgtec.com
akos.palfi@imgtec.com
balazs.kilvady@imgtec.com
dusan.milosavljevic@imgtec.com

View File

@ -9,7 +9,7 @@
#if V8_TARGET_ARCH_MIPS64
#include "src/codegen.h"
#include "src/debug.h"
#include "src/debug/debug.h"
namespace v8 {
namespace internal {

5
src/debug/ppc/OWNERS Normal file
View File

@ -0,0 +1,5 @@
jyan@ca.ibm.com
dstence@us.ibm.com
joransiu@ca.ibm.com
mbrandy@us.ibm.com
michael_dawson@ca.ibm.com

View File

@ -7,7 +7,7 @@
#if V8_TARGET_ARCH_PPC
#include "src/codegen.h"
#include "src/debug.h"
#include "src/debug/debug.h"
namespace v8 {
namespace internal {

View File

@ -8,7 +8,7 @@
#include "src/assembler.h"
#include "src/codegen.h"
#include "src/debug.h"
#include "src/debug/debug.h"
namespace v8 {

1
src/debug/x87/OWNERS Normal file
View File

@ -0,0 +1 @@
weiliang.lin@intel.com

View File

@ -7,7 +7,7 @@
#if V8_TARGET_ARCH_X87
#include "src/codegen.h"
#include "src/debug.h"
#include "src/debug/debug.h"
namespace v8 {

View File

@ -6,7 +6,7 @@
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/deoptimizer.h"
#include "src/disasm.h"
#include "src/disassembler.h"

View File

@ -10,7 +10,7 @@
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/compiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/full-codegen/full-codegen.h"
#include "src/ic/ic.h"
#include "src/parser.h"

View File

@ -10,7 +10,7 @@
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/compiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/full-codegen/full-codegen.h"
#include "src/ic/ic.h"
#include "src/parser.h"

View File

@ -9,9 +9,9 @@
#include "src/code-factory.h"
#include "src/codegen.h"
#include "src/compiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/debug/liveedit.h"
#include "src/full-codegen/full-codegen.h"
#include "src/liveedit.h"
#include "src/macro-assembler.h"
#include "src/prettyprinter.h"
#include "src/scopeinfo.h"

View File

@ -10,7 +10,7 @@
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/compiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/full-codegen/full-codegen.h"
#include "src/ic/ic.h"
#include "src/parser.h"

View File

@ -18,7 +18,7 @@
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/compiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/full-codegen/full-codegen.h"
#include "src/ic/ic.h"
#include "src/parser.h"

View File

@ -18,7 +18,7 @@
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/compiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/full-codegen/full-codegen.h"
#include "src/ic/ic.h"
#include "src/parser.h"

View File

@ -10,7 +10,7 @@
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/compiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/full-codegen/full-codegen.h"
#include "src/ic/ic.h"
#include "src/parser.h"

View File

@ -10,7 +10,7 @@
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/compiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/full-codegen/full-codegen.h"
#include "src/ic/ic.h"
#include "src/parser.h"

View File

@ -10,7 +10,7 @@
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/compiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/full-codegen/full-codegen.h"
#include "src/ic/ic.h"
#include "src/parser.h"

View File

@ -9,7 +9,7 @@
#include "src/allocation-tracker.h"
#include "src/code-stubs.h"
#include "src/conversions.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/heap-profiler.h"
#include "src/types.h"

View File

@ -14,7 +14,7 @@
#include "src/compilation-cache.h"
#include "src/conversions.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/deoptimizer.h"
#include "src/global-handles.h"
#include "src/heap/gc-idle-time-handler.h"

View File

@ -40,7 +40,7 @@
#include "src/ia32/assembler-ia32.h"
#include "src/assembler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
namespace v8 {
namespace internal {

View File

@ -11,7 +11,7 @@
#include "src/bootstrapper.h"
#include "src/codegen.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/runtime/runtime.h"
namespace v8 {

View File

@ -8,7 +8,7 @@
#include "src/ic/ic.h"
#include "src/compiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/macro-assembler.h"
#include "src/prototype.h"

View File

@ -19,7 +19,7 @@
#include "src/compilation-cache.h"
#include "src/compilation-statistics.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/deoptimizer.h"
#include "src/heap/spaces.h"
#include "src/heap-profiler.h"

View File

@ -40,7 +40,7 @@
#include "src/mips/assembler-mips.h"
#include "src/assembler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
namespace v8 {

View File

@ -9,7 +9,7 @@
#if V8_TARGET_ARCH_MIPS
#include "src/codegen.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/deoptimizer.h"
#include "src/full-codegen/full-codegen.h"
#include "src/interpreter/bytecodes.h"

View File

@ -13,7 +13,7 @@
#include "src/bootstrapper.h"
#include "src/codegen.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/runtime/runtime.h"
namespace v8 {

View File

@ -40,7 +40,7 @@
#include "src/mips64/assembler-mips64.h"
#include "src/assembler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
namespace v8 {

View File

@ -9,7 +9,7 @@
#if V8_TARGET_ARCH_MIPS64
#include "src/codegen.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/deoptimizer.h"
#include "src/full-codegen/full-codegen.h"
#include "src/runtime/runtime.h"

View File

@ -12,7 +12,7 @@
#include "src/bootstrapper.h"
#include "src/codegen.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/runtime/runtime.h"
namespace v8 {

View File

@ -20,7 +20,7 @@
#include "src/compiler.h"
#include "src/cpu-profiler.h"
#include "src/date.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/deoptimizer.h"
#include "src/elements.h"
#include "src/execution.h"

View File

@ -4,7 +4,7 @@
#include "src/pending-compilation-error-handler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/handles.h"
#include "src/isolate.h"
#include "src/messages.h"

View File

@ -40,7 +40,7 @@
#include "src/ppc/assembler-ppc.h"
#include "src/assembler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
namespace v8 {

View File

@ -7,7 +7,7 @@
#if V8_TARGET_ARCH_PPC
#include "src/codegen.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/deoptimizer.h"
#include "src/full-codegen/full-codegen.h"
#include "src/interpreter/bytecodes.h"

View File

@ -14,7 +14,7 @@
#include "src/bootstrapper.h"
#include "src/codegen.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/runtime/runtime.h"
namespace v8 {

View File

@ -7,7 +7,7 @@
#include "src/profile-generator-inl.h"
#include "src/compiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/deoptimizer.h"
#include "src/global-handles.h"
#include "src/sampler.h"

View File

@ -53,7 +53,7 @@ enum PropertyLocation { kField = 0, kDescriptor = 1 };
// Order of properties is significant.
// Must fit in the BitField PropertyDetails::TypeField.
// A copy of this is in mirror-debugger.js.
// A copy of this is in debug/mirrors.js.
enum PropertyType {
DATA = (kField << 1) | kData,
DATA_CONSTANT = (kDescriptor << 1) | kData,

View File

@ -8,7 +8,7 @@
#include "src/v8.h"
#include "src/arguments.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/messages.h"
#include "src/runtime/runtime.h"
#include "src/runtime/runtime-utils.h"

View File

@ -7,7 +7,7 @@
#include "src/accessors.h"
#include "src/arguments.h"
#include "src/compiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/deoptimizer.h"
#include "src/parser.h"
#include "src/runtime/runtime.h"

View File

@ -6,7 +6,7 @@
#include "src/arguments.h"
#include "src/bootstrapper.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/messages.h"
#include "src/parser.h"
#include "src/prettyprinter.h"

View File

@ -5,8 +5,8 @@
#include "src/v8.h"
#include "src/arguments.h"
#include "src/debug.h"
#include "src/liveedit.h"
#include "src/debug/debug.h"
#include "src/debug/liveedit.h"
#include "src/runtime/runtime.h"
#include "src/runtime/runtime-utils.h"

View File

@ -6,7 +6,7 @@
#include "src/arguments.h"
#include "src/bootstrapper.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/messages.h"
#include "src/runtime/runtime.h"
#include "src/runtime/runtime-utils.h"

View File

@ -5,7 +5,7 @@
#include "src/v8.h"
#include "src/arguments.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/runtime/runtime-utils.h"
namespace v8 {

View File

@ -8,7 +8,7 @@
#include "src/base/once.h"
#include "src/base/platform/platform.h"
#include "src/bootstrapper.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/deoptimizer.h"
#include "src/elements.h"
#include "src/frames.h"

View File

@ -6,7 +6,7 @@
#include "src/api.h"
#include "src/bootstrapper.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/execution.h"
#include "src/regexp-stack.h"
#include "src/v8threads.h"

View File

@ -8,7 +8,7 @@
#include "src/x64/assembler-x64.h"
#include "src/base/cpu.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/v8memory.h"
namespace v8 {

View File

@ -11,7 +11,7 @@
#include "src/bootstrapper.h"
#include "src/codegen.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/heap/heap.h"
#include "src/x64/assembler-x64.h"
#include "src/x64/macro-assembler-x64.h"

View File

@ -40,7 +40,7 @@
#include "src/x87/assembler-x87.h"
#include "src/assembler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
namespace v8 {
namespace internal {

View File

@ -11,7 +11,7 @@
#include "src/bootstrapper.h"
#include "src/codegen.h"
#include "src/cpu-profiler.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/runtime/runtime.h"
namespace v8 {

View File

@ -29,7 +29,7 @@
#include "test/cctest/cctest.h"
#include "include/libplatform/libplatform.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "test/cctest/print-extension.h"
#include "test/cctest/profiler-extension.h"
#include "test/cctest/trace-extension.h"

View File

@ -42,7 +42,7 @@
#include "src/base/platform/platform.h"
#include "src/base/smart-pointers.h"
#include "src/compilation-cache.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/execution.h"
#include "src/futex-emulation.h"
#include "src/objects.h"

View File

@ -33,7 +33,7 @@
#include "src/base/platform/condition-variable.h"
#include "src/base/platform/platform.h"
#include "src/compilation-cache.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/deoptimizer.h"
#include "src/frames.h"
#include "src/utils.h"

View File

@ -32,7 +32,7 @@
#include "src/api.h"
#include "src/base/platform/platform.h"
#include "src/compilation-cache.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/deoptimizer.h"
#include "src/isolate.h"
#include "test/cctest/cctest.h"

View File

@ -29,7 +29,7 @@
#include "test/cctest/cctest.h"
#include "src/api.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/execution.h"
#include "src/factory.h"
#include "src/global-handles.h"

View File

@ -30,7 +30,7 @@
#include "src/v8.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/disasm.h"
#include "src/disassembler.h"
#include "src/macro-assembler.h"

View File

@ -29,7 +29,7 @@
#include "src/v8.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/disasm.h"
#include "src/disassembler.h"
#include "src/ic/ic.h"

View File

@ -30,7 +30,7 @@
#include "src/v8.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/disasm.h"
#include "src/disassembler.h"
#include "src/macro-assembler.h"

View File

@ -30,7 +30,7 @@
#include "src/v8.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/disasm.h"
#include "src/disassembler.h"
#include "src/macro-assembler.h"

View File

@ -30,7 +30,7 @@
#include "src/v8.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/disasm.h"
#include "src/disassembler.h"
#include "src/macro-assembler.h"

View File

@ -29,7 +29,7 @@
#include "src/v8.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/disasm.h"
#include "src/disassembler.h"
#include "src/ic/ic.h"

View File

@ -29,7 +29,7 @@
#include "src/v8.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/disasm.h"
#include "src/disassembler.h"
#include "src/ic/ic.h"

View File

@ -6,7 +6,7 @@
#include "test/cctest/cctest.h"
#include "src/api.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/execution.h"
#include "src/factory.h"
#include "src/global-handles.h"

View File

@ -29,7 +29,7 @@
#include "src/v8.h"
#include "src/api.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/string-search.h"
#include "test/cctest/cctest.h"

View File

@ -33,7 +33,7 @@
#include "include/v8-profiler.h"
#include "src/allocation-tracker.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/hashmap.h"
#include "src/heap-profiler.h"
#include "test/cctest/cctest.h"

View File

@ -29,7 +29,7 @@
#include "src/v8.h"
#include "src/liveedit.h"
#include "src/debug/liveedit.h"
#include "test/cctest/cctest.h"

View File

@ -33,7 +33,7 @@
#include "src/bootstrapper.h"
#include "src/compilation-cache.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/heap/spaces.h"
#include "src/objects.h"
#include "src/parser.h"

View File

@ -42,7 +42,7 @@ function CheckScope(scope_mirror, scope_expectations, expected_scope_type) {
}
}
// A copy of the scope types from mirror-debugger.js.
// A copy of the scope types from debug/mirrors.js.
var ScopeType = { Global: 0,
Local: 1,
With: 2,

View File

@ -45,7 +45,7 @@ function CheckScope(scope_mirror, scope_expectations, expected_scope_type) {
}
}
// A copy of the scope types from mirror-debugger.js.
// A copy of the scope types from debug/mirrors.js.
var ScopeType = { Global: 0,
Local: 1,
With: 2,

View File

@ -6,7 +6,7 @@
#include "include/libplatform/libplatform.h"
#include "src/base/platform/time.h"
#include "src/debug.h"
#include "src/debug/debug.h"
#include "src/flags.h"
#include "src/isolate.h"
#include "src/v8.h"

View File

@ -627,8 +627,10 @@
'../../src/dateparser-inl.h',
'../../src/dateparser.cc',
'../../src/dateparser.h',
'../../src/debug.cc',
'../../src/debug.h',
'../../src/debug/debug.cc',
'../../src/debug/debug.h',
'../../src/debug/liveedit.cc',
'../../src/debug/liveedit.h',
'../../src/deoptimizer.cc',
'../../src/deoptimizer.h',
'../../src/disasm.h',
@ -814,8 +816,6 @@
'../../src/lithium.cc',
'../../src/lithium.h',
'../../src/lithium-inl.h',
'../../src/liveedit.cc',
'../../src/liveedit.h',
'../../src/log-inl.h',
'../../src/log-utils.cc',
'../../src/log-utils.h',
@ -1002,7 +1002,6 @@
'../../src/arm/constants-arm.h',
'../../src/arm/constants-arm.cc',
'../../src/arm/cpu-arm.cc',
'../../src/arm/debug-arm.cc',
'../../src/arm/deoptimizer-arm.cc',
'../../src/arm/disasm-arm.cc',
'../../src/arm/frames-arm.cc',
@ -1025,6 +1024,7 @@
'../../src/compiler/arm/instruction-codes-arm.h',
'../../src/compiler/arm/instruction-selector-arm.cc',
'../../src/compiler/arm/linkage-arm.cc',
'../../src/debug/arm/debug-arm.cc',
'../../src/full-codegen/arm/full-codegen-arm.cc',
'../../src/ic/arm/access-compiler-arm.cc',
'../../src/ic/arm/handler-compiler-arm.cc',
@ -1045,7 +1045,6 @@
'../../src/arm64/code-stubs-arm64.h',
'../../src/arm64/constants-arm64.h',
'../../src/arm64/cpu-arm64.cc',
'../../src/arm64/debug-arm64.cc',
'../../src/arm64/decoder-arm64.cc',
'../../src/arm64/decoder-arm64.h',
'../../src/arm64/decoder-arm64-inl.h',
@ -1082,6 +1081,7 @@
'../../src/compiler/arm64/instruction-codes-arm64.h',
'../../src/compiler/arm64/instruction-selector-arm64.cc',
'../../src/compiler/arm64/linkage-arm64.cc',
'../../src/debug/arm64/debug-arm64.cc',
'../../src/full-codegen/arm64/full-codegen-arm64.cc',
'../../src/ic/arm64/access-compiler-arm64.cc',
'../../src/ic/arm64/handler-compiler-arm64.cc',
@ -1101,7 +1101,6 @@
'../../src/ia32/codegen-ia32.cc',
'../../src/ia32/codegen-ia32.h',
'../../src/ia32/cpu-ia32.cc',
'../../src/ia32/debug-ia32.cc',
'../../src/ia32/deoptimizer-ia32.cc',
'../../src/ia32/disasm-ia32.cc',
'../../src/ia32/frames-ia32.cc',
@ -1121,6 +1120,7 @@
'../../src/compiler/ia32/instruction-codes-ia32.h',
'../../src/compiler/ia32/instruction-selector-ia32.cc',
'../../src/compiler/ia32/linkage-ia32.cc',
'../../src/debug/ia32/debug-ia32.cc',
'../../src/full-codegen/ia32/full-codegen-ia32.cc',
'../../src/ic/ia32/access-compiler-ia32.cc',
'../../src/ic/ia32/handler-compiler-ia32.cc',
@ -1140,7 +1140,6 @@
'../../src/x87/codegen-x87.cc',
'../../src/x87/codegen-x87.h',
'../../src/x87/cpu-x87.cc',
'../../src/x87/debug-x87.cc',
'../../src/x87/deoptimizer-x87.cc',
'../../src/x87/disasm-x87.cc',
'../../src/x87/frames-x87.cc',
@ -1160,6 +1159,7 @@
'../../src/compiler/x87/instruction-codes-x87.h',
'../../src/compiler/x87/instruction-selector-x87.cc',
'../../src/compiler/x87/linkage-x87.cc',
'../../src/debug/x87/debug-x87.cc',
'../../src/full-codegen/x87/full-codegen-x87.cc',
'../../src/ic/x87/access-compiler-x87.cc',
'../../src/ic/x87/handler-compiler-x87.cc',
@ -1181,7 +1181,6 @@
'../../src/mips/constants-mips.cc',
'../../src/mips/constants-mips.h',
'../../src/mips/cpu-mips.cc',
'../../src/mips/debug-mips.cc',
'../../src/mips/deoptimizer-mips.cc',
'../../src/mips/disasm-mips.cc',
'../../src/mips/frames-mips.cc',
@ -1204,6 +1203,7 @@
'../../src/compiler/mips/instruction-selector-mips.cc',
'../../src/compiler/mips/linkage-mips.cc',
'../../src/full-codegen/mips/full-codegen-mips.cc',
'../../src/debug/mips/debug-mips.cc',
'../../src/ic/mips/access-compiler-mips.cc',
'../../src/ic/mips/handler-compiler-mips.cc',
'../../src/ic/mips/ic-mips.cc',
@ -1224,7 +1224,6 @@
'../../src/mips64/constants-mips64.cc',
'../../src/mips64/constants-mips64.h',
'../../src/mips64/cpu-mips64.cc',
'../../src/mips64/debug-mips64.cc',
'../../src/mips64/deoptimizer-mips64.cc',
'../../src/mips64/disasm-mips64.cc',
'../../src/mips64/frames-mips64.cc',
@ -1246,6 +1245,7 @@
'../../src/compiler/mips64/instruction-codes-mips64.h',
'../../src/compiler/mips64/instruction-selector-mips64.cc',
'../../src/compiler/mips64/linkage-mips64.cc',
'../../src/debug/mips64/debug-mips64.cc',
'../../src/full-codegen/mips64/full-codegen-mips64.cc',
'../../src/ic/mips64/access-compiler-mips64.cc',
'../../src/ic/mips64/handler-compiler-mips64.cc',
@ -1265,7 +1265,6 @@
'../../src/x64/codegen-x64.cc',
'../../src/x64/codegen-x64.h',
'../../src/x64/cpu-x64.cc',
'../../src/x64/debug-x64.cc',
'../../src/x64/deoptimizer-x64.cc',
'../../src/x64/disasm-x64.cc',
'../../src/x64/frames-x64.cc',
@ -1281,6 +1280,7 @@
'../../src/x64/macro-assembler-x64.h',
'../../src/x64/regexp-macro-assembler-x64.cc',
'../../src/x64/regexp-macro-assembler-x64.h',
'../../src/debug/x64/debug-x64.cc',
'../../src/full-codegen/x64/full-codegen-x64.cc',
'../../src/ic/x64/access-compiler-x64.cc',
'../../src/ic/x64/handler-compiler-x64.cc',
@ -1310,7 +1310,6 @@
'../../src/ppc/constants-ppc.h',
'../../src/ppc/constants-ppc.cc',
'../../src/ppc/cpu-ppc.cc',
'../../src/ppc/debug-ppc.cc',
'../../src/ppc/deoptimizer-ppc.cc',
'../../src/ppc/disasm-ppc.cc',
'../../src/ppc/frames-ppc.cc',
@ -1333,6 +1332,7 @@
'../../src/compiler/ppc/instruction-codes-ppc.h',
'../../src/compiler/ppc/instruction-selector-ppc.cc',
'../../src/compiler/ppc/linkage-ppc.cc',
'../../src/debug/ppc/debug-ppc.cc',
'../../src/full-codegen/ppc/full-codegen-ppc.cc',
'../../src/ic/ppc/access-compiler-ppc.cc',
'../../src/ic/ppc/handler-compiler-ppc.cc',
@ -1791,12 +1791,12 @@
'../../src/json.js',
'../../src/array-iterator.js',
'../../src/string-iterator.js',
'../../src/debug-debugger.js',
'../../src/mirror-debugger.js',
'../../src/liveedit-debugger.js',
'../../src/templates.js',
'../../src/harmony-array.js',
'../../src/harmony-typedarray.js',
'../../src/debug/debug.js',
'../../src/debug/mirrors.js',
'../../src/debug/liveedit.js',
],
'experimental_library_files': [
'../../src/macros.py',

View File

@ -377,7 +377,7 @@ class Sources:
def IsDebuggerFile(filename):
return filename.endswith("-debugger.js")
return "debug" in filename
def IsMacroFile(filename):
return filename.endswith("macros.py")
@ -447,7 +447,7 @@ def PrepareSources(source_files, native_type, emit_js):
result.is_debugger_id.append(is_debugger)
name = os.path.basename(source)[:-3]
result.names.append(name if not is_debugger else name[:-9])
result.names.append(name)
return result