From 896a2e9849c5a3f3ffcbeb6fbd32d6b56be38995 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Thu, 24 Sep 2015 14:01:22 -0700 Subject: [PATCH] Bug 1206290 - Part 0: Move js/UbiNodeTraverse.h to js/UbiNodeBreadthFirst.h; r=sfink --HG-- rename : js/public/UbiNodeTraverse.h => js/public/UbiNodeBreadthFirst.h --- devtools/shared/heapsnapshot/HeapSnapshot.cpp | 2 +- js/public/{UbiNodeTraverse.h => UbiNodeBreadthFirst.h} | 6 +++--- js/public/UbiNodeCensus.h | 2 +- js/src/builtin/TestingFunctions.cpp | 2 +- js/src/moz.build | 2 +- js/src/vm/Debugger.cpp | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) rename js/public/{UbiNodeTraverse.h => UbiNodeBreadthFirst.h} (98%) diff --git a/devtools/shared/heapsnapshot/HeapSnapshot.cpp b/devtools/shared/heapsnapshot/HeapSnapshot.cpp index 761756b76899..a0ef56ab1ff4 100644 --- a/devtools/shared/heapsnapshot/HeapSnapshot.cpp +++ b/devtools/shared/heapsnapshot/HeapSnapshot.cpp @@ -12,7 +12,7 @@ #include "js/Debug.h" #include "js/TypeDecls.h" #include "js/UbiNodeCensus.h" -#include "js/UbiNodeTraverse.h" +#include "js/UbiNodeBreadthFirst.h" #include "mozilla/Attributes.h" #include "mozilla/devtools/AutoMemMap.h" #include "mozilla/devtools/CoreDump.pb.h" diff --git a/js/public/UbiNodeTraverse.h b/js/public/UbiNodeBreadthFirst.h similarity index 98% rename from js/public/UbiNodeTraverse.h rename to js/public/UbiNodeBreadthFirst.h index 16f90fd194cc..c677ed422db3 100644 --- a/js/public/UbiNodeTraverse.h +++ b/js/public/UbiNodeBreadthFirst.h @@ -4,8 +4,8 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef js_UbiNodeTraverse_h -#define js_UbiNodeTraverse_h +#ifndef js_UbiNodeBreadthFirst_h +#define js_UbiNodeBreadthFirst_h #include "js/UbiNode.h" #include "js/Utility.h" @@ -241,4 +241,4 @@ struct BreadthFirst { } // namespace ubi } // namespace JS -#endif // js_UbiNodeTraverse.h +#endif // js_UbiNodeBreadthFirst_h diff --git a/js/public/UbiNodeCensus.h b/js/public/UbiNodeCensus.h index 57da551052f2..e881eb188483 100644 --- a/js/public/UbiNodeCensus.h +++ b/js/public/UbiNodeCensus.h @@ -12,7 +12,7 @@ #include "jsapi.h" #include "js/UbiNode.h" -#include "js/UbiNodeTraverse.h" +#include "js/UbiNodeBreadthFirst.h" // A census is a ubi::Node traversal that assigns each node to one or more // buckets, and returns a report with the size of each bucket. diff --git a/js/src/builtin/TestingFunctions.cpp b/js/src/builtin/TestingFunctions.cpp index 88f428293fec..fc3cbbe271b4 100644 --- a/js/src/builtin/TestingFunctions.cpp +++ b/js/src/builtin/TestingFunctions.cpp @@ -25,7 +25,7 @@ #include "js/HashTable.h" #include "js/StructuredClone.h" #include "js/UbiNode.h" -#include "js/UbiNodeTraverse.h" +#include "js/UbiNodeBreadthFirst.h" #include "js/Vector.h" #include "vm/GlobalObject.h" #include "vm/Interpreter.h" diff --git a/js/src/moz.build b/js/src/moz.build index 26f8b480b060..70e6a1a75dfb 100644 --- a/js/src/moz.build +++ b/js/src/moz.build @@ -129,8 +129,8 @@ EXPORTS.js += [ '../public/TrackedOptimizationInfo.h', '../public/TypeDecls.h', '../public/UbiNode.h', + '../public/UbiNodeBreadthFirst.h', '../public/UbiNodeCensus.h', - '../public/UbiNodeTraverse.h', '../public/Utility.h', '../public/Value.h', '../public/Vector.h', diff --git a/js/src/vm/Debugger.cpp b/js/src/vm/Debugger.cpp index fad203a7d8f1..f55cb24db7e6 100644 --- a/js/src/vm/Debugger.cpp +++ b/js/src/vm/Debugger.cpp @@ -24,7 +24,7 @@ #include "jit/JSONSpewer.h" #include "jit/MIRGraph.h" #include "js/GCAPI.h" -#include "js/UbiNodeTraverse.h" +#include "js/UbiNodeBreadthFirst.h" #include "js/Vector.h" #include "vm/ArgumentsObject.h" #include "vm/DebuggerMemory.h"