Improved printing of CheckPrototypeMaps instruction.
Review URL: https://chromiumcodereview.appspot.com/10696139 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12012 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
36513befa1
commit
b6ebc22de8
@ -1073,6 +1073,11 @@ void HCheckInstanceType::PrintDataTo(StringStream* stream) {
|
||||
}
|
||||
|
||||
|
||||
void HCheckPrototypeMaps::PrintDataTo(StringStream* stream) {
|
||||
stream->Add("[receiver_prototype=%p,holder=%p]", *prototype(), *holder());
|
||||
}
|
||||
|
||||
|
||||
void HCallStub::PrintDataTo(StringStream* stream) {
|
||||
stream->Add("%s ",
|
||||
CodeStub::MajorName(major_key_, false));
|
||||
|
@ -2281,6 +2281,8 @@ class HCheckPrototypeMaps: public HTemplateInstruction<0> {
|
||||
return Representation::None();
|
||||
}
|
||||
|
||||
virtual void PrintDataTo(StringStream* stream);
|
||||
|
||||
virtual intptr_t Hashcode() {
|
||||
ASSERT(!HEAP->IsAllocationAllowed());
|
||||
intptr_t hash = reinterpret_cast<intptr_t>(*prototype());
|
||||
|
Loading…
Reference in New Issue
Block a user