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

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

Issue 6615007: Remove unused label from lithium-codegen-ia32 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1905 matching lines...) Expand 10 before | Expand all | Expand 10 after
1916 InstanceofStub stub(flags); 1916 InstanceofStub stub(flags);
1917 1917
1918 // Get the temp register reserved by the instruction. This needs to be edi as 1918 // Get the temp register reserved by the instruction. This needs to be edi as
1919 // its slot of the pushing of safepoint registers is used to communicate the 1919 // its slot of the pushing of safepoint registers is used to communicate the
1920 // offset to the location of the map check. 1920 // offset to the location of the map check.
1921 Register temp = ToRegister(instr->TempAt(0)); 1921 Register temp = ToRegister(instr->TempAt(0));
1922 ASSERT(temp.is(edi)); 1922 ASSERT(temp.is(edi));
1923 __ mov(InstanceofStub::right(), Immediate(instr->function())); 1923 __ mov(InstanceofStub::right(), Immediate(instr->function()));
1924 static const int kAdditionalDelta = 16; 1924 static const int kAdditionalDelta = 16;
1925 int delta = masm_->SizeOfCodeGeneratedSince(map_check) + kAdditionalDelta; 1925 int delta = masm_->SizeOfCodeGeneratedSince(map_check) + kAdditionalDelta;
1926 Label before_push_delta;
1927 __ bind(&before_push_delta);
1928 __ mov(temp, Immediate(delta)); 1926 __ mov(temp, Immediate(delta));
1929 __ StoreToSafepointRegisterSlot(temp, temp); 1927 __ StoreToSafepointRegisterSlot(temp, temp);
1930 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr, false); 1928 CallCode(stub.GetCode(), RelocInfo::CODE_TARGET, instr, false);
1931 // Put the result value into the eax slot and restore all registers. 1929 // Put the result value into the eax slot and restore all registers.
1932 __ StoreToSafepointRegisterSlot(eax, eax); 1930 __ StoreToSafepointRegisterSlot(eax, eax);
1933 __ PopSafepointRegisters(); 1931 __ PopSafepointRegisters();
1934 } 1932 }
1935 1933
1936 1934
1937 static Condition ComputeCompareCondition(Token::Value op) { 1935 static Condition ComputeCompareCondition(Token::Value op) {
(...skipping 1938 matching lines...) Expand 10 before | Expand all | Expand 10 after
3876 ASSERT(osr_pc_offset_ == -1); 3874 ASSERT(osr_pc_offset_ == -1);
3877 osr_pc_offset_ = masm()->pc_offset(); 3875 osr_pc_offset_ = masm()->pc_offset();
3878 } 3876 }
3879 3877
3880 3878
3881 #undef __ 3879 #undef __
3882 3880
3883 } } // namespace v8::internal 3881 } } // namespace v8::internal
3884 3882
3885 #endif // V8_TARGET_ARCH_IA32 3883 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698