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

Side by Side Diff: src/mips/lithium-codegen-mips.cc

Issue 19595004: Rename AllocationSiteInfo to AllocationMemento (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/mips/codegen-mips.cc ('k') | src/mips/macro-assembler-mips.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 4446 matching lines...) Expand 10 before | Expand all | Expand 10 after
4457 UNREACHABLE(); 4457 UNREACHABLE();
4458 } 4458 }
4459 __ bind(&not_applicable); 4459 __ bind(&not_applicable);
4460 } 4460 }
4461 4461
4462 4462
4463 void LCodeGen::DoTrapAllocationMemento(LTrapAllocationMemento* instr) { 4463 void LCodeGen::DoTrapAllocationMemento(LTrapAllocationMemento* instr) {
4464 Register object = ToRegister(instr->object()); 4464 Register object = ToRegister(instr->object());
4465 Register temp = ToRegister(instr->temp()); 4465 Register temp = ToRegister(instr->temp());
4466 Label fail; 4466 Label fail;
4467 __ TestJSArrayForAllocationSiteInfo(object, temp, ne, &fail); 4467 __ TestJSArrayForAllocationMemento(object, temp, ne, &fail);
4468 DeoptimizeIf(al, instr->environment()); 4468 DeoptimizeIf(al, instr->environment());
4469 __ bind(&fail); 4469 __ bind(&fail);
4470 } 4470 }
4471 4471
4472 4472
4473 void LCodeGen::DoStringAdd(LStringAdd* instr) { 4473 void LCodeGen::DoStringAdd(LStringAdd* instr) {
4474 __ push(ToRegister(instr->left())); 4474 __ push(ToRegister(instr->left()));
4475 __ push(ToRegister(instr->right())); 4475 __ push(ToRegister(instr->right()));
4476 StringAddStub stub(instr->hydrogen()->flags()); 4476 StringAddStub stub(instr->hydrogen()->flags());
4477 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); 4477 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
(...skipping 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after
5802 __ Subu(scratch, result, scratch); 5802 __ Subu(scratch, result, scratch);
5803 __ lw(result, FieldMemOperand(scratch, 5803 __ lw(result, FieldMemOperand(scratch,
5804 FixedArray::kHeaderSize - kPointerSize)); 5804 FixedArray::kHeaderSize - kPointerSize));
5805 __ bind(&done); 5805 __ bind(&done);
5806 } 5806 }
5807 5807
5808 5808
5809 #undef __ 5809 #undef __
5810 5810
5811 } } // namespace v8::internal 5811 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/codegen-mips.cc ('k') | src/mips/macro-assembler-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698