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

Issue 6793017: In LCodeGen::DoDeferredLInstanceOfKnownGlobal emit safepoint with registers for the call to stub. (Closed)

Created:
9 years, 8 months ago by Vyacheslav Egorov (Chromium)
Modified:
9 years, 7 months ago
Reviewers:
fschneider
CC:
v8-dev
Visibility:
Public.

Description

In LCodeGen::DoDeferredLInstanceOfKnownGlobal emit safepoint with registers for the call to stub. Committed: http://code.google.com/p/v8/source/detail?r=7541

Patch Set 1 #

Total comments: 1

Patch Set 2 : addressed Florian's concernes. #

Total comments: 1

Patch Set 3 : port to arm and x64 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+470 lines, -243 lines) Patch
M src/arm/lithium-codegen-arm.h View 1 2 5 chunks +63 lines, -2 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 18 chunks +87 lines, -75 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.h View 1 2 4 chunks +61 lines, -9 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 48 chunks +111 lines, -97 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M src/x64/lithium-codegen-x64.h View 1 2 5 chunks +45 lines, -2 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 15 chunks +79 lines, -53 lines 1 comment Download
M src/x64/macro-assembler-x64.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A test/mjsunit/regress/regress-78270.js View 1 2 1 chunk +11 lines, -0 lines 1 comment Download

Messages

Total messages: 8 (0 generated)
Vyacheslav Egorov (Chromium)
9 years, 8 months ago (2011-04-04 11:32:27 UTC) #1
Vyacheslav Egorov (Chromium)
Kevin, can you take a look? This is IA32-only. If approach looks good to you ...
9 years, 8 months ago (2011-04-04 11:35:33 UTC) #2
Vyacheslav Egorov (Chromium)
redirecting to Florian.
9 years, 8 months ago (2011-04-04 11:38:33 UTC) #3
fschneider
http://codereview.chromium.org/6793017/diff/1/src/ia32/lithium-codegen-ia32.h File src/ia32/lithium-codegen-ia32.h (right): http://codereview.chromium.org/6793017/diff/1/src/ia32/lithium-codegen-ia32.h#newcode180 src/ia32/lithium-codegen-ia32.h:180: ContextMode context_mode = CONTEXT_ADJUSTED, I'm hesitating using default arguments ...
9 years, 8 months ago (2011-04-04 11:54:11 UTC) #4
Vyacheslav Egorov (Chromium)
Here is another version (again only ia32).
9 years, 8 months ago (2011-04-04 14:42:09 UTC) #5
fschneider
LGTM for ia32. http://codereview.chromium.org/6793017/diff/1003/src/ia32/lithium-codegen-ia32.cc File src/ia32/lithium-codegen-ia32.cc (right): http://codereview.chromium.org/6793017/diff/1003/src/ia32/lithium-codegen-ia32.cc#newcode643 src/ia32/lithium-codegen-ia32.cc:643: ASSERT(kind == Safepoint::kWithRegisters || !safepoint_registers_pushed_); You ...
9 years, 8 months ago (2011-04-04 14:56:34 UTC) #6
Vyacheslav Egorov (Chromium)
I've ported fix from ia32 to ARM and x64. Please take another look.
9 years, 8 months ago (2011-04-06 17:51:44 UTC) #7
fschneider
9 years, 8 months ago (2011-04-07 11:28:30 UTC) #8
LGTM.

http://codereview.chromium.org/6793017/diff/6001/src/x64/lithium-codegen-x64.cc
File src/x64/lithium-codegen-x64.cc (right):

http://codereview.chromium.org/6793017/diff/6001/src/x64/lithium-codegen-x64....
src/x64/lithium-codegen-x64.cc:1985: //
Remove extra line.

http://codereview.chromium.org/6793017/diff/6001/test/mjsunit/regress/regress...
File test/mjsunit/regress/regress-78270.js (right):

http://codereview.chromium.org/6793017/diff/6001/test/mjsunit/regress/regress...
test/mjsunit/regress/regress-78270.js:1: 
Insert copyright header.

Powered by Google App Engine
This is Rietveld 408576698