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

Issue 6399002: Clean up Hydrogen's HLoadFunctionPrototype. (Closed)

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

Description

Clean up Hydrogen's HLoadFunctionPrototype. This instruction was setting an incorrect collection of Changes/Depends flags. Committed: http://code.google.com/p/v8/source/detail?r=6491

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -8 lines) Patch
M src/hydrogen-instructions.h View 6 chunks +5 lines, -8 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
Kevin Millikin (Chromium)
It appears that this instruction erroneously reported DependsOnCalls, ChangesInobjectFields, DependsOnInobjectFields. I don't think there was ...
9 years, 11 months ago (2011-01-26 12:04:11 UTC) #1
fschneider
9 years, 11 months ago (2011-01-26 13:26:55 UTC) #2
LGTM.

http://codereview.chromium.org/6399002/diff/1/src/hydrogen-instructions.h
File src/hydrogen-instructions.h (left):

http://codereview.chromium.org/6399002/diff/1/src/hydrogen-instructions.h#old...
src/hydrogen-instructions.h:2747: virtual bool DataEquals(HValue* other) const {
return true; }
The default implementation of DataEquals is unsafe returning true - maybe making
it unreachable to make sure all instructions that use GVN override it.

Powered by Google App Engine
This is Rietveld 408576698