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

Issue 1205783003: Simplify interface to optimized code map lookup. (Closed)

Created:
5 years, 6 months ago by Michael Starzinger
Modified:
5 years, 5 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@local_opt-code-map-1
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Simplify interface to optimized code map lookup. This is one step torwards extracting an OptimizedCodeMap out from the SharedFunctionInfo in order to have a more flexible implementation. R=bmeurer@chromium.org, jarin@chromium.org Committed: https://chromium.googlesource.com/v8/v8/+/112f1973415bba4a6afc887a009fabe5bb4ba236

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -64 lines) Patch
M src/compiler.cc View 3 chunks +16 lines, -17 lines 0 comments Download
M src/factory.cc View 1 chunk +11 lines, -13 lines 2 comments Download
M src/objects.h View 2 chunks +12 lines, -10 lines 0 comments Download
M src/objects.cc View 5 chunks +7 lines, -24 lines 2 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 11 (3 generated)
Michael Starzinger
5 years, 6 months ago (2015-06-24 13:43:19 UTC) #1
Jarin
drive-by lgtm. https://codereview.chromium.org/1205783003/diff/1/src/factory.cc File src/factory.cc (right): https://codereview.chromium.org/1205783003/diff/1/src/factory.cc#newcode1390 src/factory.cc:1390: if (cached.literals == nullptr && !info->bound()) { ...
5 years, 6 months ago (2015-06-24 14:01:54 UTC) #3
Michael Starzinger
https://codereview.chromium.org/1205783003/diff/1/src/factory.cc File src/factory.cc (right): https://codereview.chromium.org/1205783003/diff/1/src/factory.cc#newcode1390 src/factory.cc:1390: if (cached.literals == nullptr && !info->bound()) { On 2015/06/24 ...
5 years, 6 months ago (2015-06-24 14:36:42 UTC) #4
Benedikt Meurer
lgtm
5 years, 6 months ago (2015-06-25 04:12:14 UTC) #5
Jarin
On 2015/06/24 14:36:42, Michael Starzinger wrote: > https://codereview.chromium.org/1205783003/diff/1/src/factory.cc > File src/factory.cc (right): > > https://codereview.chromium.org/1205783003/diff/1/src/factory.cc#newcode1390 ...
5 years, 6 months ago (2015-06-25 07:37:05 UTC) #6
Michael Starzinger
Committed patchset #1 (id:1) manually as 112f1973415bba4a6afc887a009fabe5bb4ba236 (presubmit successful).
5 years, 6 months ago (2015-06-25 08:28:54 UTC) #8
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1205783003/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1205783003/diff/1/src/objects.cc#newcode10610 src/objects.cc:10610: return {Code::cast(optimized_code_map->get(i + kCachedCodeOffset)), fyi, this syntax is forbidden ...
5 years, 5 months ago (2015-07-13 07:11:50 UTC) #10
Michael Starzinger
5 years, 5 months ago (2015-07-13 07:43:31 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/1205783003/diff/1/src/objects.cc
File src/objects.cc (right):

https://codereview.chromium.org/1205783003/diff/1/src/objects.cc#newcode10610
src/objects.cc:10610: return {Code::cast(optimized_code_map->get(i +
kCachedCodeOffset)),
On 2015/07/13 07:11:50, jochen wrote:
> fyi, this syntax is forbidden by chromium's C++ style guide because MSVS does
> not create correct code for it

Can we haz presubmit check then?

Powered by Google App Engine
This is Rietveld 408576698