Improved printing of HLoadElements instruction.
TBR=jkummerow@chromium.org Review URL: https://codereview.chromium.org/11177004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12743 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
4a2a4b8647
commit
bcb383e055
@ -1058,6 +1058,13 @@ void HCheckInstanceType::GetCheckMaskAndTag(uint8_t* mask, uint8_t* tag) {
|
||||
}
|
||||
|
||||
|
||||
void HLoadElements::PrintDataTo(StringStream* stream) {
|
||||
value()->PrintNameTo(stream);
|
||||
stream->Add(" ");
|
||||
typecheck()->PrintNameTo(stream);
|
||||
}
|
||||
|
||||
|
||||
void HCheckMaps::PrintDataTo(StringStream* stream) {
|
||||
value()->PrintNameTo(stream);
|
||||
stream->Add(" [%p", *map_set()->first());
|
||||
|
@ -2123,6 +2123,9 @@ class HLoadElements: public HTemplateInstruction<2> {
|
||||
}
|
||||
|
||||
HValue* value() { return OperandAt(0); }
|
||||
HValue* typecheck() { return OperandAt(1); }
|
||||
|
||||
virtual void PrintDataTo(StringStream* stream);
|
||||
|
||||
virtual Representation RequiredInputRepresentation(int index) {
|
||||
return Representation::Tagged();
|
||||
|
Loading…
Reference in New Issue
Block a user