Do not emit receiver map in CheckPrototypes.
BUG= R=verwaest@chromium.org Review URL: https://codereview.chromium.org/170613002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19471 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
21cb5ca20b
commit
cf568ea0ed
@ -840,9 +840,6 @@ Register StubCompiler::CheckPrototypes(Handle<HeapType> type,
|
||||
Label* miss,
|
||||
PrototypeCheckType check) {
|
||||
Handle<Map> receiver_map(IC::TypeToMap(*type, isolate()));
|
||||
// Make sure that the type feedback oracle harvests the receiver map.
|
||||
// TODO(svenpanne) Remove this hack when all ICs are reworked.
|
||||
__ Mov(scratch1, Operand(receiver_map));
|
||||
|
||||
// object_reg and holder_reg registers can alias.
|
||||
ASSERT(!AreAliased(object_reg, scratch1, scratch2));
|
||||
|
@ -879,9 +879,6 @@ Register StubCompiler::CheckPrototypes(Handle<HeapType> type,
|
||||
Label* miss,
|
||||
PrototypeCheckType check) {
|
||||
Handle<Map> receiver_map(IC::TypeToMap(*type, isolate()));
|
||||
// Make sure that the type feedback oracle harvests the receiver map.
|
||||
// TODO(svenpanne) Remove this hack when all ICs are reworked.
|
||||
__ mov(scratch1, Operand(receiver_map));
|
||||
|
||||
// Make sure there's no overlap between holder and object registers.
|
||||
ASSERT(!scratch1.is(object_reg) && !scratch1.is(holder_reg));
|
||||
|
@ -861,9 +861,6 @@ Register StubCompiler::CheckPrototypes(Handle<HeapType> type,
|
||||
Label* miss,
|
||||
PrototypeCheckType check) {
|
||||
Handle<Map> receiver_map(IC::TypeToMap(*type, isolate()));
|
||||
// Make sure that the type feedback oracle harvests the receiver map.
|
||||
// TODO(svenpanne) Remove this hack when all ICs are reworked.
|
||||
__ mov(scratch1, receiver_map);
|
||||
|
||||
// Make sure there's no overlap between holder and object registers.
|
||||
ASSERT(!scratch1.is(object_reg) && !scratch1.is(holder_reg));
|
||||
|
@ -868,9 +868,6 @@ Register StubCompiler::CheckPrototypes(Handle<HeapType> type,
|
||||
Label* miss,
|
||||
PrototypeCheckType check) {
|
||||
Handle<Map> receiver_map(IC::TypeToMap(*type, isolate()));
|
||||
// Make sure that the type feedback oracle harvests the receiver map.
|
||||
// TODO(svenpanne) Remove this hack when all ICs are reworked.
|
||||
__ li(scratch1, Operand(receiver_map));
|
||||
|
||||
// Make sure there's no overlap between holder and object registers.
|
||||
ASSERT(!scratch1.is(object_reg) && !scratch1.is(holder_reg));
|
||||
|
@ -774,9 +774,6 @@ Register StubCompiler::CheckPrototypes(Handle<HeapType> type,
|
||||
Label* miss,
|
||||
PrototypeCheckType check) {
|
||||
Handle<Map> receiver_map(IC::TypeToMap(*type, isolate()));
|
||||
// Make sure that the type feedback oracle harvests the receiver map.
|
||||
// TODO(svenpanne) Remove this hack when all ICs are reworked.
|
||||
__ Move(scratch1, receiver_map);
|
||||
|
||||
// Make sure there's no overlap between holder and object registers.
|
||||
ASSERT(!scratch1.is(object_reg) && !scratch1.is(holder_reg));
|
||||
|
Loading…
Reference in New Issue
Block a user