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

Issue 13496008: fix bogus uses of preparser API (Closed)

Created:
7 years, 8 months ago by wingo
Modified:
7 years, 8 months ago
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

Fix bogus uses of preparser API * src/api.cc (ScriptData::PreCompile): Fix bogus use of bogus value for preparsing flags by removing those arguments, which were always zero. * src/parser.h * src/parser.cc (ParserApi::PreParse): Remove extension and flags arguments, both of which were either always 0 or incorrectly used. * test/cctest/test-parsing.cc (RegressChromium62639, Regress928): Fix more bogus uses of preparser api. BUG= Committed: http://code.google.com/p/v8/source/detail?r=14140

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -14 lines) Patch
M src/api.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M src/parser.h View 1 chunk +1 line, -3 lines 0 comments Download
M src/parser.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M test/cctest/test-parsing.cc View 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
wingo
Turns out both uses of ParserApi::PreParse were passing "flags" values of an incorrect type. Yay ...
7 years, 8 months ago (2013-04-04 13:57:52 UTC) #1
Michael Starzinger
LGTM. I'll land this.
7 years, 8 months ago (2013-04-04 14:27:59 UTC) #2
Michael Starzinger
7 years, 8 months ago (2013-04-04 14:34:31 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r14140 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698