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

Issue 8332003: Handlify CallStubCompiler::CompileCallField. (Closed)

Created:
9 years, 2 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 2 months ago
CC:
v8-dev
Visibility:
Public.

Description

Handlify CallStubCompiler::CompileCallField. This function relies on a number of helpers for checking prototypes and probing dictionaries. It is not possible to wrap these helpers to retry after allocation failure in a safe way---the assembler has no way to undo what it has already assembled. These functions have all been duplicated with handle and raw versions. The raw versions will eventually be removed completely. R=ulan@chromium.org,vegorov@chromium.org BUG= TEST= Committed: http://code.google.com/p/v8/source/detail?r=9769

Patch Set 1 #

Patch Set 2 : Rename some functions on ARM. #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+1212 lines, -258 lines) Patch
M src/arm/code-stubs-arm.h View 1 1 chunk +11 lines, -1 line 0 comments Download
M src/arm/code-stubs-arm.cc View 1 1 chunk +76 lines, -1 line 3 comments Download
M src/arm/stub-cache-arm.cc View 1 39 chunks +289 lines, -70 lines 2 comments Download
M src/ia32/code-stubs-ia32.h View 1 chunk +10 lines, -1 line 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 chunk +61 lines, -1 line 0 comments Download
M src/ia32/stub-cache-ia32.cc View 38 chunks +295 lines, -80 lines 0 comments Download
M src/objects.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/objects.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M src/stub-cache.h View 7 chunks +43 lines, -15 lines 0 comments Download
M src/stub-cache.cc View 5 chunks +36 lines, -15 lines 0 comments Download
M src/x64/code-stubs-x64.h View 1 chunk +10 lines, -1 line 0 comments Download
M src/x64/code-stubs-x64.cc View 1 chunk +62 lines, -1 line 0 comments Download
M src/x64/stub-cache-x64.cc View 34 chunks +304 lines, -72 lines 3 comments Download

Messages

Total messages: 4 (0 generated)
Kevin Millikin (Chromium)
9 years, 2 months ago (2011-10-24 15:43:34 UTC) #1
Kevin Millikin (Chromium)
http://codereview.chromium.org/8332003/diff/2001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): http://codereview.chromium.org/8332003/diff/2001/src/arm/code-stubs-arm.cc#newcode6680 src/arm/code-stubs-arm.cc:6680: void StringDictionaryLookupStub::GenerateNegativeLookup(MacroAssembler* masm, Cannot be wrapped with retry after ...
9 years, 2 months ago (2011-10-24 15:55:12 UTC) #2
Vyacheslav Egorov (Chromium)
lgtm http://codereview.chromium.org/8332003/diff/2001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): http://codereview.chromium.org/8332003/diff/2001/src/arm/code-stubs-arm.cc#newcode6680 src/arm/code-stubs-arm.cc:6680: void StringDictionaryLookupStub::GenerateNegativeLookup(MacroAssembler* masm, On 2011/10/24 15:55:12, Kevin Millikin ...
9 years, 2 months ago (2011-10-24 16:18:31 UTC) #3
ulan
9 years, 2 months ago (2011-10-24 16:28:25 UTC) #4
LGTM with comments.

http://codereview.chromium.org/8332003/diff/2001/src/x64/stub-cache-x64.cc
File src/x64/stub-cache-x64.cc (right):

http://codereview.chromium.org/8332003/diff/2001/src/x64/stub-cache-x64.cc#ne...
src/x64/stub-cache-x64.cc:86: Label* miss_label,
Indentation is broken.

http://codereview.chromium.org/8332003/diff/2001/src/x64/stub-cache-x64.cc#ne...
src/x64/stub-cache-x64.cc:1199: if (result->IsFailure())
set_failure(Failure::cast(result));
The result can be NULL. It works but looks suspicious. :)

http://codereview.chromium.org/8332003/diff/2001/src/x64/stub-cache-x64.cc#ne...
src/x64/stub-cache-x64.cc:1604: __ bind(&miss);GenerateMissBranch();
New line between statements.

Powered by Google App Engine
This is Rietveld 408576698