Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1053)

Unified Diff: src/runtime.cc

Issue 9546051: Fix compile with debuggersupport=off. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index 1da4f630380c69361029dccea9f69facf1ef3cf9..8c71f21a8f80ee951beff3a17e6dbd27233ef077 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -10722,16 +10722,6 @@ static SaveContext* FindSavedContextForFrame(Isolate* isolate,
}
-RUNTIME_FUNCTION(MaybeObject*, Runtime_IsConstructCall) {
- NoHandleAllocation ha;
- ASSERT(args.length() == 0);
- JavaScriptFrameIterator it(isolate);
- JavaScriptFrame* frame = it.frame();
- FrameInspector frame_inspector(frame, frame->GetInlineCount() - 1, isolate);
- return isolate->heap()->ToBoolean(frame_inspector.IsConstructor());
-}
-
-
// Return an array with frame details
// args[0]: number: break id
// args[1]: number: frame index

Powered by Google App Engine
This is Rietveld 408576698