Disable a call to the profiler in product mode

BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/1917233002 .
This commit is contained in:
John McCutchan
2016-04-26 11:12:48 -07:00
parent db86be4901
commit 14ec00f86b
+2
View File
@@ -15516,7 +15516,9 @@ TokenPosition AbstractType::token_pos() const {
bool AbstractType::IsInstantiated(TrailPtr trail) const {
// AbstractType is an abstract class.
// TODO(srdjan) : Remove temporary code.
NOT_IN_PRODUCT(
Profiler::DumpStackTrace(true); // Only native stack trace.
)
if (Compiler::IsBackgroundCompilation()) {
UNREACHABLE();
}