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

Issue 6170001: Direct call api functions (arm implementation) (Closed)

Created:
9 years, 11 months ago by Zaheer
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Direct call api functions (arm implementation)

Patch Set 1 #

Total comments: 39

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Total comments: 1

Patch Set 5 : '' #

Total comments: 20

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 2

Patch Set 10 : '' #

Total comments: 8

Patch Set 11 : '' #

Patch Set 12 : '' #

Total comments: 6

Patch Set 13 : '' #

Total comments: 30

Patch Set 14 : '' #

Total comments: 8

Patch Set 15 : '' #

Patch Set 16 : '' #

Patch Set 17 : '' #

Total comments: 14

Patch Set 18 : '' #

Total comments: 23

Patch Set 19 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+446 lines, -127 lines) Patch
M AUTHORS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M src/arm/code-stubs-arm.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +17 lines, -0 lines 0 comments Download
M src/arm/code-stubs-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +24 lines, -0 lines 1 comment Download
M src/arm/macro-assembler-arm.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +23 lines, -4 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 6 chunks +123 lines, -14 lines 0 comments Download
M src/arm/simulator-arm.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +4 lines, -2 lines 0 comments Download
M src/arm/simulator-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 7 chunks +36 lines, -13 lines 0 comments Download
M src/arm/stub-cache-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 8 chunks +110 lines, -78 lines 0 comments Download
M src/assembler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +27 lines, -8 lines 0 comments Download
M src/assembler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +6 lines, -4 lines 1 comment Download
M src/code-stubs.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -1 line 0 comments Download
M src/heap.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +8 lines, -2 lines 0 comments Download
M src/heap.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +9 lines, -0 lines 0 comments Download
M src/top.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +55 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (0 generated)
antonm
Zaheer, that's almost lgtm, but I have a couple of questions. Plus I would really ...
9 years, 11 months ago (2011-01-11 14:11:32 UTC) #1
Zaheer
Thanks Anton for the review! I have answered major comments and expecting feedback. i will ...
9 years, 11 months ago (2011-01-11 15:44:35 UTC) #2
SeRya
http://codereview.chromium.org/6170001/diff/1/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): http://codereview.chromium.org/6170001/diff/1/src/arm/macro-assembler-arm.cc#newcode1415 src/arm/macro-assembler-arm.cc:1415: add(ip, sp, Operand(scratch, LSL, kPointerSizeLog2)); add(ip, sp, Operand(unwind_space * ...
9 years, 11 months ago (2011-01-11 16:34:50 UTC) #3
antonm
And Zaheed, you didn't upload new version of the patch. http://codereview.chromium.org/6170001/diff/1/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): http://codereview.chromium.org/6170001/diff/1/src/arm/macro-assembler-arm.cc#newcode1414 ...
9 years, 11 months ago (2011-01-11 19:27:39 UTC) #4
Zaheer
Thanks Sergey, Anton for your comments. Could you please review the updated patch http://codereview.chromium.org/6170001/diff/1/src/arm/macro-assembler-arm.cc File ...
9 years, 11 months ago (2011-01-12 13:20:02 UTC) #5
SeRya
Looks good to me http://codereview.chromium.org/6170001/diff/22001/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): http://codereview.chromium.org/6170001/diff/22001/src/arm/macro-assembler-arm.cc#newcode1455 src/arm/macro-assembler-arm.cc:1455: const int kNextOffset = 0; ...
9 years, 11 months ago (2011-01-12 14:43:40 UTC) #6
Zaheer
Thanks for the review. This patch uses the old path for the simulator which iam ...
9 years, 11 months ago (2011-01-13 06:58:14 UTC) #7
SeRya
http://codereview.chromium.org/6170001/diff/26001/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): http://codereview.chromium.org/6170001/diff/26001/src/arm/macro-assembler-arm.cc#newcode1493 src/arm/macro-assembler-arm.cc:1493: ldr(r6, MemOperand(r7, kLevelOffset)); You've just checked that r6 does ...
9 years, 11 months ago (2011-01-13 09:36:21 UTC) #8
Zaheer
On 2011/01/13 09:36:21, SeRya wrote: > http://codereview.chromium.org/6170001/diff/26001/src/arm/macro-assembler-arm.cc > File src/arm/macro-assembler-arm.cc (right): > > http://codereview.chromium.org/6170001/diff/26001/src/arm/macro-assembler-arm.cc#newcode1493 > ...
9 years, 11 months ago (2011-01-13 09:55:38 UTC) #9
antonm
Next round of comments. http://codereview.chromium.org/6170001/diff/33001/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): http://codereview.chromium.org/6170001/diff/33001/src/arm/macro-assembler-arm.cc#newcode1410 src/arm/macro-assembler-arm.cc:1410: void MacroAssembler::EnterExitFramePrologue(int unwind_space) { Thanks ...
9 years, 11 months ago (2011-01-13 12:47:08 UTC) #10
Zaheer
Thanks Anton for furthur review. updated patch uploaded. http://codereview.chromium.org/6170001/diff/33001/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): http://codereview.chromium.org/6170001/diff/33001/src/arm/macro-assembler-arm.cc#newcode1410 src/arm/macro-assembler-arm.cc:1410: void ...
9 years, 11 months ago (2011-01-13 14:17:09 UTC) #11
Zaheer
Please review new patch set. This fixes the case when the stub moves during gc ...
9 years, 11 months ago (2011-01-18 14:54:57 UTC) #12
SeRya
http://codereview.chromium.org/6170001/diff/44002/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): http://codereview.chromium.org/6170001/diff/44002/src/arm/macro-assembler-arm.cc#newcode1478 src/arm/macro-assembler-arm.cc:1478: Call(function->address(), RelocInfo::RUNTIME_ENTRY); This will be translated into mov(lr, Operand(pc), ...
9 years, 11 months ago (2011-01-18 19:01:57 UTC) #13
Zaheer
Thanks serya for comments. I checked this patch with a moving stub test and it ...
9 years, 11 months ago (2011-01-19 06:19:44 UTC) #14
SeRya
On 2011/01/19 06:19:44, zaheer wrote: > Thanks serya for comments. I checked this patch with ...
9 years, 11 months ago (2011-01-19 11:23:26 UTC) #15
Zaheer
On 2011/01/19 11:23:26, SeRya wrote: > On 2011/01/19 06:19:44, zaheer wrote: > > Thanks serya ...
9 years, 11 months ago (2011-01-19 12:12:39 UTC) #16
Zaheer
Please review the uploaded change. - use intermediate stub to support stub code movement (option ...
9 years, 11 months ago (2011-01-20 10:52:35 UTC) #17
SeRya
http://codereview.chromium.org/6170001/diff/60001/src/arm/code-stubs-arm.h File src/arm/code-stubs-arm.h (right): http://codereview.chromium.org/6170001/diff/60001/src/arm/code-stubs-arm.h#newcode459 src/arm/code-stubs-arm.h:459: class DirectCEntryStub: public CodeStub { I think it worth ...
9 years, 11 months ago (2011-01-20 12:09:27 UTC) #18
Zaheer
Thanks serya for your comments. http://codereview.chromium.org/6170001/diff/60001/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): http://codereview.chromium.org/6170001/diff/60001/src/arm/macro-assembler-arm.cc#newcode1464 src/arm/macro-assembler-arm.cc:1464: int frame_alignment = ActivationFrameAlignment(); ...
9 years, 11 months ago (2011-01-20 13:23:50 UTC) #19
SeRya
http://codereview.chromium.org/6170001/diff/60001/src/arm/frames-arm.h File src/arm/frames-arm.h (right): http://codereview.chromium.org/6170001/diff/60001/src/arm/frames-arm.h#newcode112 src/arm/frames-arm.h:112: static const int kSPOffset = -1 * kPointerSize; It's ...
9 years, 11 months ago (2011-01-20 15:18:47 UTC) #20
Zaheer
hi serya, Most of the comments are addressed. Could you please take another look. Thanks ...
9 years, 11 months ago (2011-01-20 16:26:59 UTC) #21
Zaheer
hi serya, anton, Could you please take a look. Updated with support for direct callback ...
9 years, 11 months ago (2011-01-21 09:03:43 UTC) #22
SeRya
Thank you for the simplifying the exit fame. LGTM with a few comments. http://codereview.chromium.org/6170001/diff/65002/src/arm/frames-arm.h File ...
9 years, 11 months ago (2011-01-21 09:52:36 UTC) #23
Zaheer
hi Serya, May you take another look. Thanks, Zaheer http://codereview.chromium.org/6170001/diff/65002/src/arm/frames-arm.h File src/arm/frames-arm.h (right): http://codereview.chromium.org/6170001/diff/65002/src/arm/frames-arm.h#newcode116 src/arm/frames-arm.h:116: ...
9 years, 11 months ago (2011-01-21 11:51:50 UTC) #24
Erik Corry
http://codereview.chromium.org/6170001/diff/90001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): http://codereview.chromium.org/6170001/diff/90001/src/arm/code-stubs-arm.cc#newcode2723 src/arm/code-stubs-arm.cc:2723: __ mov(r5, Operand(r1)); I don't see the benefit of ...
9 years, 11 months ago (2011-01-21 14:28:40 UTC) #25
antonm
Great work, Zaheer. I think we're getting really close. http://codereview.chromium.org/6170001/diff/44002/src/arm/frames-arm.cc File src/arm/frames-arm.cc (right): http://codereview.chromium.org/6170001/diff/44002/src/arm/frames-arm.cc#newcode46 src/arm/frames-arm.cc:46: ...
9 years, 11 months ago (2011-01-21 17:56:35 UTC) #26
Zaheer
Thanks Erik and Anton for your comments. Uploaded patch with comments addressed. Could you please ...
9 years, 11 months ago (2011-01-24 09:43:31 UTC) #27
Erik Corry
ARM parts LGTM. Zaheer mentioned that he had a test that crashed with an earlier ...
9 years, 11 months ago (2011-01-24 21:45:15 UTC) #28
Zaheer
Thanks Erik for review, updated as per comments. Added a test. Please review. http://codereview.chromium.org/6170001/diff/55003/src/arm/macro-assembler-arm.cc File ...
9 years, 11 months ago (2011-01-25 07:39:51 UTC) #29
antonm
Great work, thanks. Almost LGTM---you need to rebase your change after http://code.google.com/p/v8/source/detail?r=6448. Thanks again. http://codereview.chromium.org/6170001/diff/90001/src/arm/macro-assembler-arm.cc ...
9 years, 11 months ago (2011-01-26 11:36:37 UTC) #30
Zaheer
Uploaded patch rebased to bleeding edge. The diffs show up other work so not sure ...
9 years, 10 months ago (2011-02-02 10:05:58 UTC) #31
Søren Thygesen Gjesse
http://codereview.chromium.org/6170001/diff/125002/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): http://codereview.chromium.org/6170001/diff/125002/src/arm/macro-assembler-arm.cc#newcode670 src/arm/macro-assembler-arm.cc:670: // Reserve place for the return address and align ...
9 years, 10 months ago (2011-02-02 13:24:38 UTC) #32
antonm
http://codereview.chromium.org/6170001/diff/125002/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): http://codereview.chromium.org/6170001/diff/125002/src/arm/macro-assembler-arm.cc#newcode1492 src/arm/macro-assembler-arm.cc:1492: int64_t offset = (ref0.address() - ref1.address()); should have noticed ...
9 years, 10 months ago (2011-02-02 13:56:28 UTC) #33
Søren Thygesen Gjesse
http://codereview.chromium.org/6170001/diff/125002/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): http://codereview.chromium.org/6170001/diff/125002/src/arm/macro-assembler-arm.cc#newcode1520 src/arm/macro-assembler-arm.cc:1520: // return address pushed on stack (could have moved ...
9 years, 10 months ago (2011-02-02 14:23:50 UTC) #34
Søren Thygesen Gjesse
http://codereview.chromium.org/6170001/diff/125002/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): http://codereview.chromium.org/6170001/diff/125002/src/arm/macro-assembler-arm.cc#newcode1520 src/arm/macro-assembler-arm.cc:1520: // return address pushed on stack (could have moved ...
9 years, 10 months ago (2011-02-02 14:23:51 UTC) #35
Zaheer
Thanks Soren, Anton for your comments. Could you please take another look at updated patch. ...
9 years, 10 months ago (2011-02-03 07:27:30 UTC) #36
Søren Thygesen Gjesse
LGTM for what I have commented on. http://codereview.chromium.org/6170001/diff/125002/src/assembler.h File src/assembler.h (right): http://codereview.chromium.org/6170001/diff/125002/src/assembler.h#newcode474 src/assembler.h:474: // FP_CALL ...
9 years, 10 months ago (2011-02-03 08:31:14 UTC) #37
antonm
9 years, 10 months ago (2011-02-03 11:16:25 UTC) #38
LGTM and to Erik as well.  I'll land addressing myself minor formatting issues.

Thanks for a great work, Zaheer.

http://codereview.chromium.org/6170001/diff/129005/src/arm/code-stubs-arm.cc
File src/arm/code-stubs-arm.cc (right):

http://codereview.chromium.org/6170001/diff/129005/src/arm/code-stubs-arm.cc#...
src/arm/code-stubs-arm.cc:5735: RelocInfo::CODE_TARGET));
indentation is slightly off.

http://codereview.chromium.org/6170001/diff/129005/src/assembler.cc
File src/assembler.cc (right):

http://codereview.chromium.org/6170001/diff/129005/src/assembler.cc#newcode902
src/assembler.cc:902: ExternalReference::
I'll format it differently.

Powered by Google App Engine
This is Rietveld 408576698