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

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

Issue 212623002: Merged r20033, r20138 into 3.24 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.24
Patch Set: Created 6 years, 8 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/code-stubs-hydrogen.cc ('k') | src/mips/lithium-codegen-mips.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 4680 matching lines...) Expand 10 before | Expand all | Expand 10 after
4691 __ RecordWriteForMap(object_reg, to_map, new_map_reg, 4691 __ RecordWriteForMap(object_reg, to_map, new_map_reg,
4692 ToRegister(instr->temp()), 4692 ToRegister(instr->temp()),
4693 kDontSaveFPRegs); 4693 kDontSaveFPRegs);
4694 } else { 4694 } else {
4695 ASSERT(ToRegister(instr->context()).is(esi)); 4695 ASSERT(ToRegister(instr->context()).is(esi));
4696 PushSafepointRegistersScope scope(this); 4696 PushSafepointRegistersScope scope(this);
4697 if (!object_reg.is(eax)) { 4697 if (!object_reg.is(eax)) {
4698 __ mov(eax, object_reg); 4698 __ mov(eax, object_reg);
4699 } 4699 }
4700 __ mov(ebx, to_map); 4700 __ mov(ebx, to_map);
4701 TransitionElementsKindStub stub(from_kind, to_kind); 4701 bool is_js_array = from_map->instance_type() == JS_ARRAY_TYPE;
4702 TransitionElementsKindStub stub(from_kind, to_kind, is_js_array);
4702 __ CallStub(&stub); 4703 __ CallStub(&stub);
4703 RecordSafepointWithRegisters( 4704 RecordSafepointWithRegisters(
4704 instr->pointer_map(), 0, Safepoint::kNoLazyDeopt); 4705 instr->pointer_map(), 0, Safepoint::kNoLazyDeopt);
4705 } 4706 }
4706 __ bind(&not_applicable); 4707 __ bind(&not_applicable);
4707 } 4708 }
4708 4709
4709 4710
4710 void LCodeGen::DoStringCharCodeAt(LStringCharCodeAt* instr) { 4711 void LCodeGen::DoStringCharCodeAt(LStringCharCodeAt* instr) {
4711 class DeferredStringCharCodeAt V8_FINAL : public LDeferredCode { 4712 class DeferredStringCharCodeAt V8_FINAL : public LDeferredCode {
(...skipping 1560 matching lines...) Expand 10 before | Expand all | Expand 10 after
6272 FixedArray::kHeaderSize - kPointerSize)); 6273 FixedArray::kHeaderSize - kPointerSize));
6273 __ bind(&done); 6274 __ bind(&done);
6274 } 6275 }
6275 6276
6276 6277
6277 #undef __ 6278 #undef __
6278 6279
6279 } } // namespace v8::internal 6280 } } // namespace v8::internal
6280 6281
6281 #endif // V8_TARGET_ARCH_IA32 6282 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698