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

Issue 6964011: Refactor HCheckInstanceType to allow mask/tag tests. (Closed)

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

Description

Refactor HCheckInstanceType to allow mask/tag tests. This allows us to get rid of totally fake LAST_STRING_TYPE and makes it possible to test for symbols. I considered splitting HCheckInstanceType into two instructions, but it seems nice to be able to hide the instance type implementation details from the hydrogen level. Committed: http://code.google.com/p/v8/source/detail?r=7840

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review fixes #

Patch Set 3 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -89 lines) Patch
M src/arm/lithium-codegen-arm.cc View 1 1 chunk +30 lines, -11 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 chunks +5 lines, -12 lines 0 comments Download
M src/hydrogen-instructions.h View 1 3 chunks +31 lines, -22 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 1 chunk +32 lines, -4 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 1 chunk +32 lines, -18 lines 0 comments Download
M src/objects.h View 2 chunks +0 lines, -3 lines 0 comments Download
M src/objects-printer.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 1 chunk +33 lines, -18 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Vitaly Repeshko
9 years, 7 months ago (2011-05-09 13:42:31 UTC) #1
Mads Ager (chromium)
Can we split this into two different hydrogen instructions (potentially with a shared super class)? ...
9 years, 7 months ago (2011-05-09 16:57:51 UTC) #2
Mads Ager (chromium)
9 years, 7 months ago (2011-05-10 13:41:42 UTC) #3
LGTM, I like this approach better, thanks.

Powered by Google App Engine
This is Rietveld 408576698