blob: 188bedd9e3a878b753849dd1015168493ef0ae0c [file] [log] [blame]
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sts=4 et sw=4 tw=99:
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at */
#include "vm/TraceLoggingTypes.h"
class JSLinearString;
TLStringToTextId(JSLinearString* str)
#define NAME(textId) if (js::StringEqualsAscii(str, #textId)) return TraceLogger_ ## textId;
#undef NAME
return TraceLogger_Error;