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

Side by Side Diff: src/ia32/lithium-ia32.cc

Issue 15094018: Create AllocationSite objects, pointed to by AllocationSiteInfo. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Comment response 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/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/stub-cache-ia32.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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 stream->Add(" #%d / ", arity()); 343 stream->Add(" #%d / ", arity());
344 } 344 }
345 345
346 346
347 void LCallNewArray::PrintDataTo(StringStream* stream) { 347 void LCallNewArray::PrintDataTo(StringStream* stream) {
348 stream->Add("= "); 348 stream->Add("= ");
349 context()->PrintTo(stream); 349 context()->PrintTo(stream);
350 stream->Add(" "); 350 stream->Add(" ");
351 constructor()->PrintTo(stream); 351 constructor()->PrintTo(stream);
352 stream->Add(" #%d / ", arity()); 352 stream->Add(" #%d / ", arity());
353 ASSERT(hydrogen()->property_cell()->value()->IsSmi());
354 ElementsKind kind = hydrogen()->elements_kind(); 353 ElementsKind kind = hydrogen()->elements_kind();
355 stream->Add(" (%s) ", ElementsKindToString(kind)); 354 stream->Add(" (%s) ", ElementsKindToString(kind));
356 } 355 }
357 356
358 357
359 void LAccessArgumentsAt::PrintDataTo(StringStream* stream) { 358 void LAccessArgumentsAt::PrintDataTo(StringStream* stream) {
360 arguments()->PrintTo(stream); 359 arguments()->PrintTo(stream);
361 360
362 stream->Add(" length "); 361 stream->Add(" length ");
363 length()->PrintTo(stream); 362 length()->PrintTo(stream);
(...skipping 2440 matching lines...) Expand 10 before | Expand all | Expand 10 after
2804 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2803 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2805 LOperand* object = UseRegister(instr->object()); 2804 LOperand* object = UseRegister(instr->object());
2806 LOperand* index = UseTempRegister(instr->index()); 2805 LOperand* index = UseTempRegister(instr->index());
2807 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); 2806 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index));
2808 } 2807 }
2809 2808
2810 2809
2811 } } // namespace v8::internal 2810 } } // namespace v8::internal
2812 2811
2813 #endif // V8_TARGET_ARCH_IA32 2812 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/stub-cache-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698