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

Issue 20299002: Put object templates of the i18n extension on the heap object. (Closed)

Created:
7 years, 5 months ago by jochen (gone - plz use gerrit)
Modified:
7 years, 5 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Put object templates of the i18n extension on the heap object. Using function local statics doesn't work, as we need the templates per isolate. I'm not #ifdef'ing the definitions out, because kEmptyStringRootIndex changes depending on whether the two additional slots are present or not. BUG=v8:2745 R=mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15888

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -22 lines) Patch
M include/v8.h View 1 chunk +1 line, -1 line 0 comments Download
M src/extensions/i18n/i18n-utils.cc View 1 chunk +18 lines, -20 lines 3 comments Download
M src/heap.h View 2 chunks +9 lines, -1 line 0 comments Download
M src/heap.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
jochen (gone - plz use gerrit)
7 years, 5 months ago (2013-07-25 12:20:28 UTC) #1
Michael Starzinger
LGTM with one comment. https://codereview.chromium.org/20299002/diff/1/src/extensions/i18n/i18n-utils.cc File src/extensions/i18n/i18n-utils.cc (right): https://codereview.chromium.org/20299002/diff/1/src/extensions/i18n/i18n-utils.cc#newcode156 src/extensions/i18n/i18n-utils.cc:156: i::ObjectTemplateInfo::cast(internal->heap()->i18n_template_one()), Just use internal->i18n_template_one() here, ...
7 years, 5 months ago (2013-07-25 13:56:06 UTC) #2
Michael Starzinger
https://codereview.chromium.org/20299002/diff/1/src/extensions/i18n/i18n-utils.cc File src/extensions/i18n/i18n-utils.cc (right): https://codereview.chromium.org/20299002/diff/1/src/extensions/i18n/i18n-utils.cc#newcode156 src/extensions/i18n/i18n-utils.cc:156: i::ObjectTemplateInfo::cast(internal->heap()->i18n_template_one()), On 2013/07/25 13:56:06, Michael Starzinger wrote: > Just ...
7 years, 5 months ago (2013-07-25 13:57:21 UTC) #3
jochen (gone - plz use gerrit)
7 years, 5 months ago (2013-07-25 16:01:08 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r15888 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698