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

Side by Side Diff: src/mips/lithium-mips.h

Issue 12507006: MIPS: Allocation Info Tracking, continued. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 9 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/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.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 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 V(BitNotI) \ 61 V(BitNotI) \
62 V(BoundsCheck) \ 62 V(BoundsCheck) \
63 V(Branch) \ 63 V(Branch) \
64 V(CallConstantFunction) \ 64 V(CallConstantFunction) \
65 V(CallFunction) \ 65 V(CallFunction) \
66 V(CallGlobal) \ 66 V(CallGlobal) \
67 V(CallKeyed) \ 67 V(CallKeyed) \
68 V(CallKnownGlobal) \ 68 V(CallKnownGlobal) \
69 V(CallNamed) \ 69 V(CallNamed) \
70 V(CallNew) \ 70 V(CallNew) \
71 V(CallNewArray) \
71 V(CallRuntime) \ 72 V(CallRuntime) \
72 V(CallStub) \ 73 V(CallStub) \
73 V(CheckFunction) \ 74 V(CheckFunction) \
74 V(CheckInstanceType) \ 75 V(CheckInstanceType) \
75 V(CheckMaps) \ 76 V(CheckMaps) \
76 V(CheckNonSmi) \ 77 V(CheckNonSmi) \
77 V(CheckPrototypeMaps) \ 78 V(CheckPrototypeMaps) \
78 V(CheckSmi) \ 79 V(CheckSmi) \
79 V(ClampDToUint8) \ 80 V(ClampDToUint8) \
80 V(ClampIToUint8) \ 81 V(ClampIToUint8) \
(...skipping 1674 matching lines...) Expand 10 before | Expand all | Expand 10 after
1755 1756
1756 DECLARE_CONCRETE_INSTRUCTION(CallNew, "call-new") 1757 DECLARE_CONCRETE_INSTRUCTION(CallNew, "call-new")
1757 DECLARE_HYDROGEN_ACCESSOR(CallNew) 1758 DECLARE_HYDROGEN_ACCESSOR(CallNew)
1758 1759
1759 virtual void PrintDataTo(StringStream* stream); 1760 virtual void PrintDataTo(StringStream* stream);
1760 1761
1761 int arity() const { return hydrogen()->argument_count() - 1; } 1762 int arity() const { return hydrogen()->argument_count() - 1; }
1762 }; 1763 };
1763 1764
1764 1765
1766 class LCallNewArray: public LTemplateInstruction<1, 1, 0> {
1767 public:
1768 explicit LCallNewArray(LOperand* constructor) {
1769 inputs_[0] = constructor;
1770 }
1771
1772 LOperand* constructor() { return inputs_[0]; }
1773
1774 DECLARE_CONCRETE_INSTRUCTION(CallNewArray, "call-new-array")
1775 DECLARE_HYDROGEN_ACCESSOR(CallNewArray)
1776
1777 virtual void PrintDataTo(StringStream* stream);
1778
1779 int arity() const { return hydrogen()->argument_count() - 1; }
1780 };
1781
1782
1765 class LCallRuntime: public LTemplateInstruction<1, 0, 0> { 1783 class LCallRuntime: public LTemplateInstruction<1, 0, 0> {
1766 public: 1784 public:
1767 DECLARE_CONCRETE_INSTRUCTION(CallRuntime, "call-runtime") 1785 DECLARE_CONCRETE_INSTRUCTION(CallRuntime, "call-runtime")
1768 DECLARE_HYDROGEN_ACCESSOR(CallRuntime) 1786 DECLARE_HYDROGEN_ACCESSOR(CallRuntime)
1769 1787
1770 const Runtime::Function* function() const { return hydrogen()->function(); } 1788 const Runtime::Function* function() const { return hydrogen()->function(); }
1771 int arity() const { return hydrogen()->argument_count(); } 1789 int arity() const { return hydrogen()->argument_count(); }
1772 }; 1790 };
1773 1791
1774 1792
(...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after
2644 2662
2645 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2663 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2646 }; 2664 };
2647 2665
2648 #undef DECLARE_HYDROGEN_ACCESSOR 2666 #undef DECLARE_HYDROGEN_ACCESSOR
2649 #undef DECLARE_CONCRETE_INSTRUCTION 2667 #undef DECLARE_CONCRETE_INSTRUCTION
2650 2668
2651 } } // namespace v8::internal 2669 } } // namespace v8::internal
2652 2670
2653 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2671 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698