Commit 8b192a2a authored by verwaest's avatar verwaest Committed by Commit bot

Check for jsruntime before comparing with default super runtime function

BUG=chromium:561975
LOG=n

Review URL: https://codereview.chromium.org/1480853002

Cr-Commit-Position: refs/heads/master@{#32327}
parent 58f4a052
......@@ -325,8 +325,9 @@ void CallPrinter::VisitCallNew(CallNew* node) {
void CallPrinter::VisitCallRuntime(CallRuntime* node) {
if (node->function() ==
Runtime::FunctionForId(Runtime::kInlineDefaultConstructorCallSuper)) {
if (!node->is_jsruntime() &&
node->function() ==
Runtime::FunctionForId(Runtime::kInlineDefaultConstructorCallSuper)) {
found_ = true;
Print("super");
done_ = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment