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

Issue 7307004: Fix ABI for API calls on ia32. (Closed)

Created:
9 years, 5 months ago by Vyacheslav Egorov (Chromium)
Modified:
9 years, 5 months ago
Reviewers:
Vitaly Repeshko
CC:
v8-dev
Visibility:
Public.

Description

Fix ABI for API calls on ia32. Instead of relying on eax value after the call load returned handle value directly from the slot that was preallocated for it. R=vitalyr@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=8533

Patch Set 1 #

Patch Set 2 : make it more portable #

Total comments: 7

Patch Set 3 : address review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -20 lines) Patch
M src/ia32/macro-assembler-ia32.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 2 2 chunks +12 lines, -14 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Vyacheslav Egorov (Chromium)
9 years, 5 months ago (2011-07-04 16:57:37 UTC) #1
Vyacheslav Egorov (Chromium)
MSVC generates the code slightly differently and does not pop the implicit 0th argument from ...
9 years, 5 months ago (2011-07-04 18:20:18 UTC) #2
Vitaly Repeshko
Almost LG. http://codereview.chromium.org/7307004/diff/3001/src/ia32/macro-assembler-ia32.cc File src/ia32/macro-assembler-ia32.cc (right): http://codereview.chromium.org/7307004/diff/3001/src/ia32/macro-assembler-ia32.cc#newcode1453 src/ia32/macro-assembler-ia32.cc:1453: // Save out slot address in the ...
9 years, 5 months ago (2011-07-04 22:41:36 UTC) #3
Vyacheslav Egorov (Chromium)
PTAL http://codereview.chromium.org/7307004/diff/3001/src/ia32/macro-assembler-ia32.cc File src/ia32/macro-assembler-ia32.cc (right): http://codereview.chromium.org/7307004/diff/3001/src/ia32/macro-assembler-ia32.cc#newcode1453 src/ia32/macro-assembler-ia32.cc:1453: // Save out slot address in the callee-save ...
9 years, 5 months ago (2011-07-05 11:03:50 UTC) #4
Vitaly Repeshko
9 years, 5 months ago (2011-07-05 11:08:29 UTC) #5
LGTM!

Powered by Google App Engine
This is Rietveld 408576698