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

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

Issue 7860035: Merge bleeding edge up to 9192 into the GC branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 3 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/arm/ic-arm.cc ('k') | src/arm/lithium-codegen-arm.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 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 1981 matching lines...) Expand 10 before | Expand all | Expand 10 after
1992 1992
1993 1993
1994 LInstruction* LChunkBuilder::DoStringAdd(HStringAdd* instr) { 1994 LInstruction* LChunkBuilder::DoStringAdd(HStringAdd* instr) {
1995 LOperand* left = UseRegisterAtStart(instr->left()); 1995 LOperand* left = UseRegisterAtStart(instr->left());
1996 LOperand* right = UseRegisterAtStart(instr->right()); 1996 LOperand* right = UseRegisterAtStart(instr->right());
1997 return MarkAsCall(DefineFixed(new LStringAdd(left, right), r0), instr); 1997 return MarkAsCall(DefineFixed(new LStringAdd(left, right), r0), instr);
1998 } 1998 }
1999 1999
2000 2000
2001 LInstruction* LChunkBuilder::DoStringCharCodeAt(HStringCharCodeAt* instr) { 2001 LInstruction* LChunkBuilder::DoStringCharCodeAt(HStringCharCodeAt* instr) {
2002 LOperand* string = UseRegister(instr->string()); 2002 LOperand* string = UseTempRegister(instr->string());
2003 LOperand* index = UseRegisterOrConstant(instr->index()); 2003 LOperand* index = UseTempRegister(instr->index());
2004 LStringCharCodeAt* result = new LStringCharCodeAt(string, index); 2004 LStringCharCodeAt* result = new LStringCharCodeAt(string, index);
2005 return AssignEnvironment(AssignPointerMap(DefineAsRegister(result))); 2005 return AssignEnvironment(AssignPointerMap(DefineAsRegister(result)));
2006 } 2006 }
2007 2007
2008 2008
2009 LInstruction* LChunkBuilder::DoStringCharFromCode(HStringCharFromCode* instr) { 2009 LInstruction* LChunkBuilder::DoStringCharFromCode(HStringCharFromCode* instr) {
2010 LOperand* char_code = UseRegister(instr->value()); 2010 LOperand* char_code = UseRegister(instr->value());
2011 LStringCharFromCode* result = new LStringCharFromCode(char_code); 2011 LStringCharFromCode* result = new LStringCharFromCode(char_code);
2012 return AssignPointerMap(DefineAsRegister(result)); 2012 return AssignPointerMap(DefineAsRegister(result));
2013 } 2013 }
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
2181 2181
2182 LInstruction* LChunkBuilder::DoIn(HIn* instr) { 2182 LInstruction* LChunkBuilder::DoIn(HIn* instr) {
2183 LOperand* key = UseRegisterAtStart(instr->key()); 2183 LOperand* key = UseRegisterAtStart(instr->key());
2184 LOperand* object = UseRegisterAtStart(instr->object()); 2184 LOperand* object = UseRegisterAtStart(instr->object());
2185 LIn* result = new LIn(key, object); 2185 LIn* result = new LIn(key, object);
2186 return MarkAsCall(DefineFixed(result, r0), instr); 2186 return MarkAsCall(DefineFixed(result, r0), instr);
2187 } 2187 }
2188 2188
2189 2189
2190 } } // namespace v8::internal 2190 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/ic-arm.cc ('k') | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698