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

Side by Side Diff: src/arm/lithium-codegen-arm.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/arm/lithium-arm.cc ('k') | src/assembler.cc » ('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 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after
1050 TranscendentalCacheStub::TAGGED); 1050 TranscendentalCacheStub::TAGGED);
1051 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); 1051 CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr);
1052 break; 1052 break;
1053 } 1053 }
1054 default: 1054 default:
1055 UNREACHABLE(); 1055 UNREACHABLE();
1056 } 1056 }
1057 } 1057 }
1058 1058
1059 1059
1060 void LCodeGen::DoCallExternal(LCallExternal* instr) {
1061 __ CallExternalReference(
1062 instr->external_reference(),
1063 instr->arity());
1064 }
1065
1066
1060 void LCodeGen::DoUnknownOSRValue(LUnknownOSRValue* instr) { 1067 void LCodeGen::DoUnknownOSRValue(LUnknownOSRValue* instr) {
1061 GenerateOsrPrologue(); 1068 GenerateOsrPrologue();
1062 } 1069 }
1063 1070
1064 1071
1065 void LCodeGen::DoModI(LModI* instr) { 1072 void LCodeGen::DoModI(LModI* instr) {
1066 HMod* hmod = instr->hydrogen(); 1073 HMod* hmod = instr->hydrogen();
1067 HValue* left = hmod->left(); 1074 HValue* left = hmod->left();
1068 HValue* right = hmod->right(); 1075 HValue* right = hmod->right();
1069 if (hmod->HasPowerOf2Divisor()) { 1076 if (hmod->HasPowerOf2Divisor()) {
(...skipping 4749 matching lines...) Expand 10 before | Expand all | Expand 10 after
5819 __ sub(scratch, result, Operand::PointerOffsetFromSmiKey(index)); 5826 __ sub(scratch, result, Operand::PointerOffsetFromSmiKey(index));
5820 __ ldr(result, FieldMemOperand(scratch, 5827 __ ldr(result, FieldMemOperand(scratch,
5821 FixedArray::kHeaderSize - kPointerSize)); 5828 FixedArray::kHeaderSize - kPointerSize));
5822 __ bind(&done); 5829 __ bind(&done);
5823 } 5830 }
5824 5831
5825 5832
5826 #undef __ 5833 #undef __
5827 5834
5828 } } // namespace v8::internal 5835 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698