| OLD | NEW |
| 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 1978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1989 | 1989 |
| 1990 LInstruction* LChunkBuilder::DoAccessArgumentsAt(HAccessArgumentsAt* instr) { | 1990 LInstruction* LChunkBuilder::DoAccessArgumentsAt(HAccessArgumentsAt* instr) { |
| 1991 LOperand* arguments = UseRegister(instr->arguments()); | 1991 LOperand* arguments = UseRegister(instr->arguments()); |
| 1992 LOperand* length = UseTempRegister(instr->length()); | 1992 LOperand* length = UseTempRegister(instr->length()); |
| 1993 LOperand* index = UseRegister(instr->index()); | 1993 LOperand* index = UseRegister(instr->index()); |
| 1994 LAccessArgumentsAt* result = new LAccessArgumentsAt(arguments, length, index); | 1994 LAccessArgumentsAt* result = new LAccessArgumentsAt(arguments, length, index); |
| 1995 return AssignEnvironment(DefineAsRegister(result)); | 1995 return AssignEnvironment(DefineAsRegister(result)); |
| 1996 } | 1996 } |
| 1997 | 1997 |
| 1998 | 1998 |
| 1999 LInstruction* LChunkBuilder::DoToFastProperties(HToFastProperties* instr) { |
| 2000 LOperand* object = UseFixed(instr->value(), r0); |
| 2001 LToFastProperties* result = new LToFastProperties(object); |
| 2002 return MarkAsCall(DefineFixed(result, r0), instr); |
| 2003 } |
| 2004 |
| 2005 |
| 1999 LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) { | 2006 LInstruction* LChunkBuilder::DoTypeof(HTypeof* instr) { |
| 2000 LTypeof* result = new LTypeof(UseFixed(instr->value(), r0)); | 2007 LTypeof* result = new LTypeof(UseFixed(instr->value(), r0)); |
| 2001 return MarkAsCall(DefineFixed(result, r0), instr); | 2008 return MarkAsCall(DefineFixed(result, r0), instr); |
| 2002 } | 2009 } |
| 2003 | 2010 |
| 2004 | 2011 |
| 2005 LInstruction* LChunkBuilder::DoTypeofIs(HTypeofIs* instr) { | 2012 LInstruction* LChunkBuilder::DoTypeofIs(HTypeofIs* instr) { |
| 2006 return DefineSameAsFirst(new LTypeofIs(UseRegister(instr->value()))); | 2013 return DefineSameAsFirst(new LTypeofIs(UseRegister(instr->value()))); |
| 2007 } | 2014 } |
| 2008 | 2015 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2064 | 2071 |
| 2065 | 2072 |
| 2066 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 2073 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
| 2067 HEnvironment* outer = current_block_->last_environment()->outer(); | 2074 HEnvironment* outer = current_block_->last_environment()->outer(); |
| 2068 current_block_->UpdateEnvironment(outer); | 2075 current_block_->UpdateEnvironment(outer); |
| 2069 return NULL; | 2076 return NULL; |
| 2070 } | 2077 } |
| 2071 | 2078 |
| 2072 | 2079 |
| 2073 } } // namespace v8::internal | 2080 } } // namespace v8::internal |
| OLD | NEW |