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

Issue 15980007: Remove unnecessary check from Logger::LogCodeObject (Closed)

Created:
7 years, 6 months ago by yurys
Modified:
7 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Remove unnecessary check from Logger::LogCodeObject Logger::LogCodeObjects is the only caller of the method. And all its call sites check for at least one of the coditions before calling LogCodeObjects. So there is no need to check it again. BUG=None R=jkummerow@chromium.org, loislo@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=14913

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -53 lines) Patch
M src/cpu-profiler.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M src/log.cc View 1 chunk +48 lines, -50 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
yurys
7 years, 6 months ago (2013-06-03 08:20:45 UTC) #1
loislo
lgtm
7 years, 6 months ago (2013-06-03 08:39:10 UTC) #2
Jakob Kummerow
LGTM if you're sure this doesn't break command-line usage of d8 with --prof.
7 years, 6 months ago (2013-06-03 09:27:35 UTC) #3
yurys
7 years, 6 months ago (2013-06-03 09:46:40 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r14913 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698