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 2251003: Refactor GenerateLoadInterceptor, removing LoadInterceptorCompiler class and CompileLoadInterceptor (Closed)

Created:
10 years, 7 months ago by William Hesse
Modified:
9 years, 7 months ago
Reviewers:
antonm
CC:
v8-dev
Visibility:
Public.

Description

Refactor GenerateLoadInterceptor, removing LoadInterceptorCompiler class and CompileLoadInterceptor static function. All platforms (x64, ia32, and ARM) changed. Committed: http://code.google.com/p/v8/source/detail?r=4747

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+376 lines, -590 lines) Patch
M src/arm/stub-cache-arm.cc View 3 chunks +128 lines, -198 lines 1 comment Download
M src/ia32/stub-cache-ia32.cc View 1 2 3 chunks +125 lines, -195 lines 1 comment Download
M src/x64/stub-cache-x64.cc View 3 chunks +123 lines, -197 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
William Hesse
See what you think of this proposed change. The CompileGeneral() case, and the private members, ...
10 years, 7 months ago (2010-05-26 16:05:50 UTC) #1
antonm
LGTM. Of comments the only one I am feeling strongly for is a name for ...
10 years, 7 months ago (2010-05-26 16:19:41 UTC) #2
William Hesse
I have inlined the functions LoadInterceptorCompiler::CompileCacheable and LoadInterceptorCompiler::CompileRegular into the templated function CompileLoadInterceptor, and inlined ...
10 years, 7 months ago (2010-05-27 11:03:20 UTC) #3
antonm
http://codereview.chromium.org/2251003/diff/1/2 File src/ia32/stub-cache-ia32.cc (right): http://codereview.chromium.org/2251003/diff/1/2#newcode328 src/ia32/stub-cache-ia32.cc:328: void Compile() { On 2010/05/27 11:03:20, William Hesse wrote: ...
10 years, 7 months ago (2010-05-27 11:06:47 UTC) #4
William Hesse
OK, now this is a change that I want to commit. Added the x64 and ...
10 years, 7 months ago (2010-05-27 13:32:39 UTC) #5
antonm
10 years, 7 months ago (2010-05-27 13:39:34 UTC) #6
LGTM modulo restoring an ASSERT (see in comments).

Thanks a lot for refactoring this---it's notably better than it was before.

http://codereview.chromium.org/2251003/diff/12001/13001
File src/arm/stub-cache-arm.cc (right):

http://codereview.chromium.org/2251003/diff/12001/13001#newcode924
src/arm/stub-cache-arm.cc:924: }
Please, restore ASSERT added in http://codereview.chromium.org/2279005/show

http://codereview.chromium.org/2251003/diff/12001/13002
File src/ia32/stub-cache-ia32.cc (right):

http://codereview.chromium.org/2251003/diff/12001/13002#newcode956
src/ia32/stub-cache-ia32.cc:956: }
ditto for ia32 and x64

Powered by Google App Engine
This is Rietveld 408576698