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

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

Issue 6542011: X64 Crankshaft: Implement LValueOf and (dummy) LArgumentsObject. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 10 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 | src/ia32/lithium-ia32.cc » ('j') | src/ia32/lithium-ia32.cc » ('J')
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 1900 matching lines...) Expand 10 before | Expand all | Expand 10 after
1911 } 1911 }
1912 1912
1913 1913
1914 LInstruction* LChunkBuilder::DoCallStub(HCallStub* instr) { 1914 LInstruction* LChunkBuilder::DoCallStub(HCallStub* instr) {
1915 argument_count_ -= instr->argument_count(); 1915 argument_count_ -= instr->argument_count();
1916 return MarkAsCall(DefineFixed(new LCallStub, r0), instr); 1916 return MarkAsCall(DefineFixed(new LCallStub, r0), instr);
1917 } 1917 }
1918 1918
1919 1919
1920 LInstruction* LChunkBuilder::DoArgumentsObject(HArgumentsObject* instr) { 1920 LInstruction* LChunkBuilder::DoArgumentsObject(HArgumentsObject* instr) {
1921 // There are no real uses of the arguments object (we bail out in all other 1921 // There are no real uses of the arguments object.
1922 // cases). 1922 // arguments.length and element access are supported directly on
1923 // stack arguments, and any real arguments object use causes a bailout.
1924 // So this value is never used.
1923 return NULL; 1925 return NULL;
1924 } 1926 }
1925 1927
1926 1928
1927 LInstruction* LChunkBuilder::DoAccessArgumentsAt(HAccessArgumentsAt* instr) { 1929 LInstruction* LChunkBuilder::DoAccessArgumentsAt(HAccessArgumentsAt* instr) {
1928 LOperand* arguments = UseRegister(instr->arguments()); 1930 LOperand* arguments = UseRegister(instr->arguments());
1929 LOperand* length = UseTempRegister(instr->length()); 1931 LOperand* length = UseTempRegister(instr->length());
1930 LOperand* index = UseRegister(instr->index()); 1932 LOperand* index = UseRegister(instr->index());
1931 LAccessArgumentsAt* result = new LAccessArgumentsAt(arguments, length, index); 1933 LAccessArgumentsAt* result = new LAccessArgumentsAt(arguments, length, index);
1932 return AssignEnvironment(DefineAsRegister(result)); 1934 return AssignEnvironment(DefineAsRegister(result));
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
2001 2003
2002 2004
2003 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { 2005 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) {
2004 HEnvironment* outer = current_block_->last_environment()->outer(); 2006 HEnvironment* outer = current_block_->last_environment()->outer();
2005 current_block_->UpdateEnvironment(outer); 2007 current_block_->UpdateEnvironment(outer);
2006 return NULL; 2008 return NULL;
2007 } 2009 }
2008 2010
2009 2011
2010 } } // namespace v8::internal 2012 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/ia32/lithium-ia32.cc » ('j') | src/ia32/lithium-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698