| Index: src/runtime/runtime-internal.cc
|
| diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc
|
| index 236a79c7919a9dbe038a30ad6037758b04e67957..a7c727cfdc652a3fd79991d89e474510b691ec54 100644
|
| --- a/src/runtime/runtime-internal.cc
|
| +++ b/src/runtime/runtime-internal.cc
|
| @@ -10,8 +10,6 @@
|
| #include "src/debug/debug.h"
|
| #include "src/frames-inl.h"
|
| #include "src/messages.h"
|
| -#include "src/parser.h"
|
| -#include "src/prettyprinter.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| @@ -257,30 +255,6 @@ RUNTIME_FUNCTION(Runtime_CollectStackTrace) {
|
| }
|
|
|
|
|
| -RUNTIME_FUNCTION(Runtime_RenderCallSite) {
|
| - HandleScope scope(isolate);
|
| - DCHECK(args.length() == 0);
|
| - MessageLocation location;
|
| - if (!isolate->ComputeLocation(&location)) {
|
| - return isolate->heap()->empty_string();
|
| - }
|
| -
|
| - Zone zone;
|
| - base::SmartPointer<ParseInfo> info(
|
| - location.function()->shared()->is_function()
|
| - ? new ParseInfo(&zone, location.function())
|
| - : new ParseInfo(&zone, location.script()));
|
| -
|
| - if (!Parser::ParseStatic(info.get())) {
|
| - isolate->clear_pending_exception();
|
| - return isolate->heap()->empty_string();
|
| - }
|
| - CallPrinter printer(isolate, &zone);
|
| - const char* string = printer.Print(info->literal(), location.start_pos());
|
| - return *isolate->factory()->NewStringFromAsciiChecked(string);
|
| -}
|
| -
|
| -
|
| RUNTIME_FUNCTION(Runtime_MessageGetStartPosition) {
|
| SealHandleScope shs(isolate);
|
| DCHECK(args.length() == 1);
|
|
|