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

Issue 11359130: Make formatting error message side-effect-free. (Closed)

Created:
8 years, 1 month ago by Yang
Modified:
8 years, 1 month ago
Reviewers:
Sven Panne
CC:
v8-dev
Visibility:
Public.

Description

Make formatting error message side-effect-free. BUG=v8:2398 Committed: https://code.google.com/p/v8/source/detail?r=12926

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -5 lines) Patch
M src/isolate.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M src/messages.js View 2 chunks +21 lines, -1 line 0 comments Download
M src/runtime.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime.cc View 1 chunk +21 lines, -0 lines 2 comments Download
A + test/mjsunit/regress/regress-2398.js View 1 chunk +11 lines, -4 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Yang
PTAL.
8 years, 1 month ago (2012-11-09 16:34:00 UTC) #1
Sven Panne
8 years, 1 month ago (2012-11-12 10:14:00 UTC) #2
LGTM with nits.

http://codereview.chromium.org/11359130/diff/1/src/runtime.cc
File src/runtime.cc (right):

http://codereview.chromium.org/11359130/diff/1/src/runtime.cc#newcode4248
src/runtime.cc:4248: if (!lookup.IsProperty()) return
isolate->heap()->undefined_value();
With the change below, this can change to ...!lookup.IsFound()...

http://codereview.chromium.org/11359130/diff/1/src/runtime.cc#newcode4256
src/runtime.cc:4256: default:
Please explicitly list all PropertyTypes. We should never use a default case for
enums, because it makes it impossible to find the places which should change
when the corresponding enum changes in an automatic way.

Powered by Google App Engine
This is Rietveld 408576698