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

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

Issue 40153003: AllocationProfiler: Inital version of RecordObjectAllocation for hydrogen. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: mips, ia32 and arm platforms were added Created 7 years, 1 month 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/ia32/lithium-ia32.cc ('k') | src/mips/lithium-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 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after
1023 TranscendentalCacheStub::TAGGED); 1023 TranscendentalCacheStub::TAGGED);
1024 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); 1024 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
1025 break; 1025 break;
1026 } 1026 }
1027 default: 1027 default:
1028 UNREACHABLE(); 1028 UNREACHABLE();
1029 } 1029 }
1030 } 1030 }
1031 1031
1032 1032
1033 void LCodeGen::DoCallExternal(LCallExternal* instr) {
1034 __ CallExternalReference(
1035 instr->external_reference(),
1036 instr->arity());
1037 }
1038
1039
1033 void LCodeGen::DoUnknownOSRValue(LUnknownOSRValue* instr) { 1040 void LCodeGen::DoUnknownOSRValue(LUnknownOSRValue* instr) {
1034 GenerateOsrPrologue(); 1041 GenerateOsrPrologue();
1035 } 1042 }
1036 1043
1037 1044
1038 void LCodeGen::DoModI(LModI* instr) { 1045 void LCodeGen::DoModI(LModI* instr) {
1039 HMod* hmod = instr->hydrogen(); 1046 HMod* hmod = instr->hydrogen();
1040 HValue* left = hmod->left(); 1047 HValue* left = hmod->left();
1041 HValue* right = hmod->right(); 1048 HValue* right = hmod->right();
1042 if (hmod->HasPowerOf2Divisor()) { 1049 if (hmod->HasPowerOf2Divisor()) {
(...skipping 4759 matching lines...) Expand 10 before | Expand all | Expand 10 after
5802 __ Subu(scratch, result, scratch); 5809 __ Subu(scratch, result, scratch);
5803 __ lw(result, FieldMemOperand(scratch, 5810 __ lw(result, FieldMemOperand(scratch,
5804 FixedArray::kHeaderSize - kPointerSize)); 5811 FixedArray::kHeaderSize - kPointerSize));
5805 __ bind(&done); 5812 __ bind(&done);
5806 } 5813 }
5807 5814
5808 5815
5809 #undef __ 5816 #undef __
5810 5817
5811 } } // namespace v8::internal 5818 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/mips/lithium-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698