Reviewers: William Hesse,
Description:
Remove unused runtime function
[email protected]
BUG=none
TEST=none
Please review this at http://codereview.chromium.org/9008042/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/runtime.h
M src/runtime.cc
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index
544b210c0b6f1520ecb2a161608fe81970cb8fd9..fb46114f66ee30027131e795b1c48780573e2090
100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -9229,22 +9229,6 @@ static void PrintTransition(Object* result) {
}
-RUNTIME_FUNCTION(MaybeObject*, Runtime_TraceElementsKindTransition) {
- ASSERT(args.length() == 5);
- CONVERT_ARG_CHECKED(JSObject, obj, 0);
- CONVERT_SMI_ARG_CHECKED(from_kind, 1);
- CONVERT_ARG_CHECKED(FixedArrayBase, from_elements, 2);
- CONVERT_SMI_ARG_CHECKED(to_kind, 3);
- CONVERT_ARG_CHECKED(FixedArrayBase, to_elements, 4);
- NoHandleAllocation ha;
- PrintF("*");
- obj->PrintElementsTransition(stdout,
- static_cast<ElementsKind>(from_kind), *from_elements,
- static_cast<ElementsKind>(to_kind), *to_elements);
- return isolate->heap()->undefined_value();
-}
-
-
RUNTIME_FUNCTION(MaybeObject*, Runtime_TraceEnter) {
ASSERT(args.length() == 0);
NoHandleAllocation ha;
Index: src/runtime.h
diff --git a/src/runtime.h b/src/runtime.h
index
ff0ddbabe6199009637f516ca450c049da02f39b..c915cf38da4f9b1bd0d075d49391aaafb4fcde68
100644
--- a/src/runtime.h
+++ b/src/runtime.h
@@ -341,7 +341,6 @@ namespace internal {
/* Debugging */ \
F(DebugPrint, 1, 1) \
F(DebugTrace, 0, 1) \
- F(TraceElementsKindTransition, 5, 1) \
F(TraceEnter, 0, 1) \
F(TraceExit, 1, 1) \
F(Abort, 2, 1) \
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev