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

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

Issue 10615002: Track allocation info (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Diff with b_e Created 8 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/code-stubs-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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 3680 matching lines...) Expand 10 before | Expand all | Expand 10 after
3691 } 3691 }
3692 3692
3693 3693
3694 void LCodeGen::DoCallNew(LCallNew* instr) { 3694 void LCodeGen::DoCallNew(LCallNew* instr) {
3695 ASSERT(ToRegister(instr->context()).is(esi)); 3695 ASSERT(ToRegister(instr->context()).is(esi));
3696 ASSERT(ToRegister(instr->constructor()).is(edi)); 3696 ASSERT(ToRegister(instr->constructor()).is(edi));
3697 ASSERT(ToRegister(instr->result()).is(eax)); 3697 ASSERT(ToRegister(instr->result()).is(eax));
3698 3698
3699 CallConstructStub stub(NO_CALL_FUNCTION_FLAGS); 3699 CallConstructStub stub(NO_CALL_FUNCTION_FLAGS);
3700 __ Set(eax, Immediate(instr->arity())); 3700 __ Set(eax, Immediate(instr->arity()));
3701 // No cell in ebx for construct type feedback in optimized code.
3702 Handle<Object> undefined_value(isolate()->heap()->undefined_value());
3703 __ mov(ebx, Immediate(undefined_value));
3701 CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr); 3704 CallCode(stub.GetCode(), RelocInfo::CONSTRUCT_CALL, instr);
3702 } 3705 }
3703 3706
3704 3707
3705 void LCodeGen::DoCallRuntime(LCallRuntime* instr) { 3708 void LCodeGen::DoCallRuntime(LCallRuntime* instr) {
3706 CallRuntime(instr->function(), instr->arity(), instr); 3709 CallRuntime(instr->function(), instr->arity(), instr);
3707 } 3710 }
3708 3711
3709 3712
3710 void LCodeGen::DoStoreNamedField(LStoreNamedField* instr) { 3713 void LCodeGen::DoStoreNamedField(LStoreNamedField* instr) {
(...skipping 1826 matching lines...) Expand 10 before | Expand all | Expand 10 after
5537 FixedArray::kHeaderSize - kPointerSize)); 5540 FixedArray::kHeaderSize - kPointerSize));
5538 __ bind(&done); 5541 __ bind(&done);
5539 } 5542 }
5540 5543
5541 5544
5542 #undef __ 5545 #undef __
5543 5546
5544 } } // namespace v8::internal 5547 } } // namespace v8::internal
5545 5548
5546 #endif // V8_TARGET_ARCH_IA32 5549 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ia32/macro-assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698