Commit 90e860ca authored by franzih's avatar franzih Committed by Commit bot

[parser] Delete misplaced const.

'const' type qualifier on return type has no effect and
produces compiler warnings.

BUG=

Review-Url: https://codereview.chromium.org/2751513004
Cr-Commit-Position: refs/heads/master@{#43839}
parent 7b76d520
......@@ -206,7 +206,7 @@ class V8_EXPORT_PRIVATE Parser : public NON_EXPORTED_BASE(ParserBase<Parser>) {
cached_parse_data_ = NULL;
}
static bool const IsPreParser() { return false; }
static bool IsPreParser() { return false; }
void ParseOnBackground(ParseInfo* info);
......
......@@ -892,7 +892,7 @@ class PreParser : public ParserBase<PreParser> {
track_unresolved_variables_(false),
pending_error_handler_(pending_error_handler) {}
static bool const IsPreParser() { return true; }
static bool IsPreParser() { return true; }
PreParserLogger* logger() { return &log_; }
......
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