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

Issue 8917014: Guard against undefined fields in global context. (Closed)

Created:
9 years ago by ulan
Modified:
9 years ago
CC:
v8-dev
Visibility:
Public.

Description

Guard against undefined fields in global context. BUG=v8:1860 TEST= R=vegorov@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=10243

Patch Set 1 #

Patch Set 2 : Fix more global context accesses. #

Total comments: 15

Patch Set 3 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -24 lines) Patch
M src/assembler.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/assembler.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M src/deoptimizer.cc View 1 2 1 chunk +10 lines, -5 lines 0 comments Download
M src/heap.cc View 1 2 2 chunks +18 lines, -8 lines 0 comments Download
M src/incremental-marking.cc View 1 2 1 chunk +10 lines, -5 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
ulan
Thank you for hunting down the bug. There are other places that access the global ...
9 years ago (2011-12-12 19:11:16 UTC) #1
Vyacheslav Egorov (Chromium)
http://codereview.chromium.org/8917014/diff/3/src/deoptimizer.cc File src/deoptimizer.cc (right): http://codereview.chromium.org/8917014/diff/3/src/deoptimizer.cc#newcode269 src/deoptimizer.cc:269: Object* global = Context::cast(context)->get(Context::GLOBAL_INDEX); On 2011/12/12 19:11:16, ulan wrote: ...
9 years ago (2011-12-13 12:26:20 UTC) #2
ulan
Uploaded new patch set, please take another look. http://codereview.chromium.org/8917014/diff/3/src/deoptimizer.cc File src/deoptimizer.cc (right): http://codereview.chromium.org/8917014/diff/3/src/deoptimizer.cc#newcode269 src/deoptimizer.cc:269: Object* ...
9 years ago (2011-12-13 13:02:57 UTC) #3
Vyacheslav Egorov (Chromium)
9 years ago (2011-12-13 13:08:19 UTC) #4
LGTM!

Powered by Google App Engine
This is Rietveld 408576698