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

Side by Side Diff: src/x64/lithium-x64.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/x64/lithium-x64.h ('k') | src/x64/macro-assembler-x64.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 2367 matching lines...) Expand 10 before | Expand all | Expand 10 after
2378 } 2378 }
2379 return DefineAsSpilled(new(zone()) LUnknownOSRValue, spill_index); 2379 return DefineAsSpilled(new(zone()) LUnknownOSRValue, spill_index);
2380 } 2380 }
2381 2381
2382 2382
2383 LInstruction* LChunkBuilder::DoCallStub(HCallStub* instr) { 2383 LInstruction* LChunkBuilder::DoCallStub(HCallStub* instr) {
2384 return MarkAsCall(DefineFixed(new(zone()) LCallStub, rax), instr); 2384 return MarkAsCall(DefineFixed(new(zone()) LCallStub, rax), instr);
2385 } 2385 }
2386 2386
2387 2387
2388 LInstruction* LChunkBuilder::DoCallExternal(HCallExternal* instr) {
2389 return MarkAsCall(new(zone()) LCallExternal(), instr);
2390 }
2391
2392
2388 LInstruction* LChunkBuilder::DoArgumentsObject(HArgumentsObject* instr) { 2393 LInstruction* LChunkBuilder::DoArgumentsObject(HArgumentsObject* instr) {
2389 // There are no real uses of the arguments object. 2394 // There are no real uses of the arguments object.
2390 // arguments.length and element access are supported directly on 2395 // arguments.length and element access are supported directly on
2391 // stack arguments, and any real arguments object use causes a bailout. 2396 // stack arguments, and any real arguments object use causes a bailout.
2392 // So this value is never used. 2397 // So this value is never used.
2393 return NULL; 2398 return NULL;
2394 } 2399 }
2395 2400
2396 2401
2397 LInstruction* LChunkBuilder::DoCapturedObject(HCapturedObject* instr) { 2402 LInstruction* LChunkBuilder::DoCapturedObject(HCapturedObject* instr) {
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
2537 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2542 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2538 LOperand* object = UseRegister(instr->object()); 2543 LOperand* object = UseRegister(instr->object());
2539 LOperand* index = UseTempRegister(instr->index()); 2544 LOperand* index = UseTempRegister(instr->index());
2540 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); 2545 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index));
2541 } 2546 }
2542 2547
2543 2548
2544 } } // namespace v8::internal 2549 } } // namespace v8::internal
2545 2550
2546 #endif // V8_TARGET_ARCH_X64 2551 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/lithium-x64.h ('k') | src/x64/macro-assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698