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

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

Issue 212593003: Merged r20033, r20138 into 3.23 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.23
Patch Set: Created 6 years, 9 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 4841 matching lines...) Expand 10 before | Expand all | Expand 10 after
4852 __ RecordWriteForMap(object_reg, to_map, new_map_reg, 4852 __ RecordWriteForMap(object_reg, to_map, new_map_reg,
4853 ToRegister(instr->temp()), 4853 ToRegister(instr->temp()),
4854 kDontSaveFPRegs); 4854 kDontSaveFPRegs);
4855 } else { 4855 } else {
4856 ASSERT(ToRegister(instr->context()).is(esi)); 4856 ASSERT(ToRegister(instr->context()).is(esi));
4857 PushSafepointRegistersScope scope(this); 4857 PushSafepointRegistersScope scope(this);
4858 if (!object_reg.is(eax)) { 4858 if (!object_reg.is(eax)) {
4859 __ mov(eax, object_reg); 4859 __ mov(eax, object_reg);
4860 } 4860 }
4861 __ mov(ebx, to_map); 4861 __ mov(ebx, to_map);
4862 TransitionElementsKindStub stub(from_kind, to_kind); 4862 bool is_js_array = from_map->instance_type() == JS_ARRAY_TYPE;
4863 TransitionElementsKindStub stub(from_kind, to_kind, is_js_array);
4863 __ CallStub(&stub); 4864 __ CallStub(&stub);
4864 RecordSafepointWithRegisters( 4865 RecordSafepointWithRegisters(
4865 instr->pointer_map(), 0, Safepoint::kNoLazyDeopt); 4866 instr->pointer_map(), 0, Safepoint::kNoLazyDeopt);
4866 } 4867 }
4867 __ bind(&not_applicable); 4868 __ bind(&not_applicable);
4868 } 4869 }
4869 4870
4870 4871
4871 void LCodeGen::DoStringCharCodeAt(LStringCharCodeAt* instr) { 4872 void LCodeGen::DoStringCharCodeAt(LStringCharCodeAt* instr) {
4872 class DeferredStringCharCodeAt V8_FINAL : public LDeferredCode { 4873 class DeferredStringCharCodeAt V8_FINAL : public LDeferredCode {
(...skipping 1567 matching lines...) Expand 10 before | Expand all | Expand 10 after
6440 FixedArray::kHeaderSize - kPointerSize)); 6441 FixedArray::kHeaderSize - kPointerSize));
6441 __ bind(&done); 6442 __ bind(&done);
6442 } 6443 }
6443 6444
6444 6445
6445 #undef __ 6446 #undef __
6446 6447
6447 } } // namespace v8::internal 6448 } } // namespace v8::internal
6448 6449
6449 #endif // V8_TARGET_ARCH_IA32 6450 #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