| 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 2354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2365 } | 2365 } |
| 2366 | 2366 |
| 2367 const CallInterfaceDescriptor* descriptor() const { | 2367 const CallInterfaceDescriptor* descriptor() const { |
| 2368 return descriptor_; | 2368 return descriptor_; |
| 2369 } | 2369 } |
| 2370 | 2370 |
| 2371 HValue* target() { | 2371 HValue* target() { |
| 2372 return OperandAt(0); | 2372 return OperandAt(0); |
| 2373 } | 2373 } |
| 2374 | 2374 |
| 2375 virtual bool IsCall() V8_FINAL V8_OVERRIDE { return true; } | |
| 2376 | |
| 2377 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 2375 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |
| 2378 | 2376 |
| 2379 private: | 2377 private: |
| 2380 // The argument count includes the receiver. | 2378 // The argument count includes the receiver. |
| 2381 HCallWithDescriptor(HValue* target, | 2379 HCallWithDescriptor(HValue* target, |
| 2382 int argument_count, | 2380 int argument_count, |
| 2383 const CallInterfaceDescriptor* descriptor, | 2381 const CallInterfaceDescriptor* descriptor, |
| 2384 Vector<HValue*>& operands, | 2382 Vector<HValue*>& operands, |
| 2385 Zone* zone) | 2383 Zone* zone) |
| 2386 : descriptor_(descriptor), | 2384 : descriptor_(descriptor), |
| (...skipping 5191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7578 virtual bool IsDeletable() const V8_OVERRIDE { return true; } | 7576 virtual bool IsDeletable() const V8_OVERRIDE { return true; } |
| 7579 }; | 7577 }; |
| 7580 | 7578 |
| 7581 | 7579 |
| 7582 #undef DECLARE_INSTRUCTION | 7580 #undef DECLARE_INSTRUCTION |
| 7583 #undef DECLARE_CONCRETE_INSTRUCTION | 7581 #undef DECLARE_CONCRETE_INSTRUCTION |
| 7584 | 7582 |
| 7585 } } // namespace v8::internal | 7583 } } // namespace v8::internal |
| 7586 | 7584 |
| 7587 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ | 7585 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |