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

Issue 330017: Implemented specialized stubs for API getters. This includes a number... (Closed)

Created:
11 years, 1 month ago by Christian Plesner Hansen
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Implemented specialized stubs for API getters. This includes a number of individual changes: - Added infrastructure for custom stub caching. - Push the code object onto the stack in exit calls instead of a debug/non-debug marker. - Remove the DEBUG_EXIT frame type. - Add a new exit stub generator for API getters. Committed: http://code.google.com/p/v8/source/detail?r=3130 Committed: http://code.google.com/p/v8/source/detail?r=3150

Patch Set 1 #

Total comments: 19

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : Implemented specialized stubs for API getters. This includes a number ... #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1055 lines, -508 lines) Patch
M src/api.h View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M src/arm/codegen-arm.cc View 1 2 6 chunks +9 lines, -9 lines 0 comments Download
M src/arm/frames-arm.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/arm/frames-arm.cc View 1 2 4 1 chunk +8 lines, -7 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 2 4 4 chunks +10 lines, -9 lines 0 comments Download
M src/assembler.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M src/assembler.cc View 1 2 2 chunks +25 lines, -0 lines 0 comments Download
M src/code-stubs.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M src/code-stubs.cc View 1 2 2 chunks +34 lines, -14 lines 0 comments Download
M src/codegen.h View 1 2 4 2 chunks +27 lines, -1 line 0 comments Download
M src/codegen.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M src/frames.h View 1 2 3 4 chunks +3 lines, -22 lines 0 comments Download
M src/frames.cc View 1 2 3 2 chunks +12 lines, -6 lines 0 comments Download
M src/globals.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/handles.h View 1 2 2 chunks +7 lines, -3 lines 0 comments Download
M src/handles.cc View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M src/ia32/codegen-ia32.cc View 1 2 6 chunks +83 lines, -9 lines 0 comments Download
M src/ia32/frames-ia32.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/frames-ia32.cc View 1 2 1 chunk +4 lines, -9 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 2 4 3 chunks +12 lines, -4 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 2 4 5 chunks +80 lines, -16 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 2 1 chunk +29 lines, -10 lines 0 comments Download
M src/objects.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M src/objects-debug.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/objects-inl.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M src/runtime.cc View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M src/stub-cache.cc View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M src/top.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/x64/codegen-x64.cc View 1 2 7 chunks +14 lines, -9 lines 0 comments Download
M src/x64/frames-x64.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/x64/frames-x64.cc View 1 2 2 chunks +5 lines, -9 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 2 4 4 chunks +11 lines, -8 lines 0 comments Download
M test/cctest/SConscript View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/cctest.h View 1 2 2 chunks +136 lines, -0 lines 0 comments Download
M test/cctest/cctest.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A test/cctest/test-accessors.cc View 1 2 1 chunk +424 lines, -0 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 10 chunks +14 lines, -338 lines 0 comments Download
M test/cctest/test-debug.cc View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M test/cctest/test-log-stack-tracer.cc View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M test/mjsunit/fuzz-natives.js View 1 2 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Christian Plesner Hansen
Apologies in advance.
11 years, 1 month ago (2009-10-26 11:52:37 UTC) #1
Erik Corry
http://codereview.chromium.org/330017/diff/1/19 File src/api.h (right): http://codereview.chromium.org/330017/diff/1/19#newcode130 Line 130: enum Kind { GETTER }; I certainly hope ...
11 years, 1 month ago (2009-10-26 12:33:30 UTC) #2
Christian Plesner Hansen
http://codereview.chromium.org/330017/diff/1/19 File src/api.h (right): http://codereview.chromium.org/330017/diff/1/19#newcode130 Line 130: enum Kind { GETTER }; I do have ...
11 years, 1 month ago (2009-10-26 13:35:48 UTC) #3
Erik Corry
LGTM. The comment in simulator-arm.cc about the exit stub never moving worries me. http://codereview.chromium.org/330017/diff/1/42 File ...
11 years, 1 month ago (2009-10-27 09:10:28 UTC) #4
Erik Corry
http://codereview.chromium.org/330017/diff/1/40 File src/arm/codegen-arm.cc (right): http://codereview.chromium.org/330017/diff/1/40#newcode5906 Line 5906: ExitFrame::Mode mode = is_debug_break On 2009/10/26 12:33:30, Erik ...
11 years, 1 month ago (2009-10-27 10:55:08 UTC) #5
Christian Plesner Hansen
11 years, 1 month ago (2009-10-27 15:03:46 UTC) #6
http://codereview.chromium.org/330017/diff/1/42
File src/arm/frames-arm.cc (right):

http://codereview.chromium.org/330017/diff/1/42#newcode60
Line 60: if (is_debug_exit)
No I think we're insisting.  Fixed.

http://codereview.chromium.org/330017/diff/1/41
File src/arm/macro-assembler-arm.cc (right):

http://codereview.chromium.org/330017/diff/1/41#newcode300
Line 300: mov(ip, Operand(0));
Fixed

http://codereview.chromium.org/330017/diff/1/18
File src/codegen.h (right):

http://codereview.chromium.org/330017/diff/1/18#newcode342
Line 342: // The accessor info associated with the function
Fixed

http://codereview.chromium.org/330017/diff/1/18#newcode344
Line 344: // The function to be called
Fixed

http://codereview.chromium.org/330017/diff/1/12
File src/ia32/macro-assembler-ia32.cc (right):

http://codereview.chromium.org/330017/diff/1/12#newcode957
Line 957: // Push the number of extensions, smi-tagged for make benefit the gc.
Fixed

http://codereview.chromium.org/330017/diff/1/12#newcode961
Line 961: shl(scratch, kSmiTagSize);
Fixed

http://codereview.chromium.org/330017/diff/1/15
File src/ia32/macro-assembler-ia32.h (right):

http://codereview.chromium.org/330017/diff/1/15#newcode80
Line 80: // Enter specific kind of exit frame; either EXIT or
Fixed

http://codereview.chromium.org/330017/diff/3011/3040
File src/x64/macro-assembler-x64.cc (right):

http://codereview.chromium.org/330017/diff/3011/3040#newcode1803
Line 1803: push(Immediate(0));
Fixed

Powered by Google App Engine
This is Rietveld 408576698