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

Issue 660452: Assign to "sample.state" before reading it. (Closed)

Created:
10 years, 9 months ago by mnaganov (inactive)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Assign to "sample.state" before reading it. I noticed a funny thing: in StackTracer::Trace "sample.state" is checked, but it is only assigned after the check. I've put assignment before the check. Committed: http://code.google.com/p/v8/source/detail?r=4017

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -10 lines) Patch
M src/platform-freebsd.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M src/platform-linux.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M src/platform-macos.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M src/platform-win32.cc View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
mnaganov (inactive)
10 years, 9 months ago (2010-03-03 14:48:25 UTC) #1
Søren Thygesen Gjesse
10 years, 9 months ago (2010-03-04 08:02:46 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698