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

Issue 10544025: Cleanup Runtime_SetCode and drop EnsureCompiled. (Closed)

Created:
8 years, 6 months ago by Michael Starzinger
Modified:
8 years, 6 months ago
Reviewers:
ulan
CC:
v8-dev
Visibility:
Public.

Description

Cleanup Runtime_SetCode and drop EnsureCompiled. This change triggers compilation for a given closure instead of the shared function info. It will allow for even more cases to be compiled lazily. R=ulan@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=11726

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed comments by Ulan Degenbaev. #

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

Messages

Total messages: 3 (0 generated)
Michael Starzinger
8 years, 6 months ago (2012-06-06 09:20:22 UTC) #1
ulan
LGTM https://chromiumcodereview.appspot.com/10544025/diff/1/src/runtime.cc File src/runtime.cc (right): https://chromiumcodereview.appspot.com/10544025/diff/1/src/runtime.cc#newcode2203 src/runtime.cc:2203: target_shared->code()->set_optimizable(false); target_share->code() == source_shared->code() at this point, so ...
8 years, 6 months ago (2012-06-06 09:44:15 UTC) #2
Michael Starzinger
8 years, 6 months ago (2012-06-06 09:51:01 UTC) #3
https://chromiumcodereview.appspot.com/10544025/diff/1/src/runtime.cc
File src/runtime.cc (right):

https://chromiumcodereview.appspot.com/10544025/diff/1/src/runtime.cc#newcode...
src/runtime.cc:2203: target_shared->code()->set_optimizable(false);
On 2012/06/06 09:44:15, ulan wrote:
> target_share->code() == source_shared->code() at this point, so one of the
calls
> is redundant. Is it here for consistency/readability?

Done. It was a leftover from the original version.

Powered by Google App Engine
This is Rietveld 408576698