OLD | NEW |
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 1980 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1991 explicit LCheckNonSmi(LOperand* value) { | 1991 explicit LCheckNonSmi(LOperand* value) { |
1992 inputs_[0] = value; | 1992 inputs_[0] = value; |
1993 } | 1993 } |
1994 | 1994 |
1995 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") | 1995 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") |
1996 }; | 1996 }; |
1997 | 1997 |
1998 | 1998 |
1999 class LAllocateObject: public LTemplateInstruction<1, 1, 0> { | 1999 class LAllocateObject: public LTemplateInstruction<1, 1, 0> { |
2000 public: | 2000 public: |
2001 LAllocateObject(LOperand* context) { | 2001 explicit LAllocateObject(LOperand* context) { |
2002 inputs_[0] = context; | 2002 inputs_[0] = context; |
2003 } | 2003 } |
2004 | 2004 |
2005 DECLARE_CONCRETE_INSTRUCTION(AllocateObject, "allocate-object") | 2005 DECLARE_CONCRETE_INSTRUCTION(AllocateObject, "allocate-object") |
2006 DECLARE_HYDROGEN_ACCESSOR(AllocateObject) | 2006 DECLARE_HYDROGEN_ACCESSOR(AllocateObject) |
2007 | 2007 |
2008 LOperand* context() { return inputs_[0]; } | 2008 LOperand* context() { return inputs_[0]; } |
2009 }; | 2009 }; |
2010 | 2010 |
2011 | 2011 |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2473 | 2473 |
2474 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2474 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2475 }; | 2475 }; |
2476 | 2476 |
2477 #undef DECLARE_HYDROGEN_ACCESSOR | 2477 #undef DECLARE_HYDROGEN_ACCESSOR |
2478 #undef DECLARE_CONCRETE_INSTRUCTION | 2478 #undef DECLARE_CONCRETE_INSTRUCTION |
2479 | 2479 |
2480 } } // namespace v8::internal | 2480 } } // namespace v8::internal |
2481 | 2481 |
2482 #endif // V8_IA32_LITHIUM_IA32_H_ | 2482 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |