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

Issue 6880268: Sometimes avoid checking whether the receiver is an object in generated code. (Closed)

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

Description

Sometimes avoid checking whether the receiver is an object in generated code. In unoptimized code, use the version of the CallFunctionStub that does not check whether its receiver is an object in all the cases where we statically know that it is an object. R=ager@chromium.org,sgjesse@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=7698

Patch Set 1 #

Total comments: 3

Patch Set 2 : Removed int3. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -19 lines) Patch
M src/arm/full-codegen-arm.cc View 5 chunks +7 lines, -5 lines 0 comments Download
M src/full-codegen.h View 1 chunk +1 line, -1 line 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 5 chunks +7 lines, -5 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 5 chunks +10 lines, -8 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Chromium)
This was a simple optimization that we had in the classic backend and never implemented ...
9 years, 8 months ago (2011-04-28 08:54:35 UTC) #1
Mads Ager (chromium)
LGTM! http://codereview.chromium.org/6880268/diff/1/src/ia32/full-codegen-ia32.cc File src/ia32/full-codegen-ia32.cc (right): http://codereview.chromium.org/6880268/diff/1/src/ia32/full-codegen-ia32.cc#newcode2194 src/ia32/full-codegen-ia32.cc:2194: __ int3(); Whoops. :-)
9 years, 8 months ago (2011-04-28 08:59:01 UTC) #2
Kevin Millikin (Chromium)
9 years, 8 months ago (2011-04-28 09:00:03 UTC) #3
http://codereview.chromium.org/6880268/diff/1/src/ia32/full-codegen-ia32.cc
File src/ia32/full-codegen-ia32.cc (right):

http://codereview.chromium.org/6880268/diff/1/src/ia32/full-codegen-ia32.cc#n...
src/ia32/full-codegen-ia32.cc:2194: __ int3();
On 2011/04/28 08:59:01, Mads Ager wrote:
> Whoops. :-)

Yeah, that's not the intended behavior.

Powered by Google App Engine
This is Rietveld 408576698