| Index: src/runtime/runtime-internal.cc
|
| diff --git a/src/runtime/runtime-internal.cc b/src/runtime/runtime-internal.cc
|
| index b578c257f7708f777a7fe28fb85f45e1a4ef23de..0127f2381e5cd8443670ad07d0a05a1a89adbe32 100644
|
| --- a/src/runtime/runtime-internal.cc
|
| +++ b/src/runtime/runtime-internal.cc
|
| @@ -11,8 +11,6 @@
|
| #include "src/frames-inl.h"
|
| #include "src/isolate-inl.h"
|
| #include "src/messages.h"
|
| -#include "src/parser.h"
|
| -#include "src/prettyprinter.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| @@ -261,30 +259,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);
|
|
|