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

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

Issue 11818021: Allocation Info Tracking, continued. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 7 years, 10 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
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(CheckNonSmi) \ 76 V(CheckNonSmi) \
76 V(CheckMaps) \ 77 V(CheckMaps) \
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 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after
1777 1778
1778 DECLARE_CONCRETE_INSTRUCTION(CallNew, "call-new") 1779 DECLARE_CONCRETE_INSTRUCTION(CallNew, "call-new")
1779 DECLARE_HYDROGEN_ACCESSOR(CallNew) 1780 DECLARE_HYDROGEN_ACCESSOR(CallNew)
1780 1781
1781 virtual void PrintDataTo(StringStream* stream); 1782 virtual void PrintDataTo(StringStream* stream);
1782 1783
1783 int arity() const { return hydrogen()->argument_count() - 1; } 1784 int arity() const { return hydrogen()->argument_count() - 1; }
1784 }; 1785 };
1785 1786
1786 1787
1788 class LCallNewArray: public LTemplateInstruction<1, 1, 0> {
1789 public:
1790 explicit LCallNewArray(LOperand* constructor) {
1791 inputs_[0] = constructor;
1792 }
1793
1794 LOperand* constructor() { return inputs_[0]; }
1795
1796 DECLARE_CONCRETE_INSTRUCTION(CallNewArray, "call-new-array")
1797 DECLARE_HYDROGEN_ACCESSOR(CallNewArray)
1798
1799 virtual void PrintDataTo(StringStream* stream);
1800
1801 int arity() const { return hydrogen()->argument_count() - 1; }
1802 };
1803
1804
1787 class LCallRuntime: public LTemplateInstruction<1, 0, 0> { 1805 class LCallRuntime: public LTemplateInstruction<1, 0, 0> {
1788 public: 1806 public:
1789 DECLARE_CONCRETE_INSTRUCTION(CallRuntime, "call-runtime") 1807 DECLARE_CONCRETE_INSTRUCTION(CallRuntime, "call-runtime")
1790 DECLARE_HYDROGEN_ACCESSOR(CallRuntime) 1808 DECLARE_HYDROGEN_ACCESSOR(CallRuntime)
1791 1809
1792 const Runtime::Function* function() const { return hydrogen()->function(); } 1810 const Runtime::Function* function() const { return hydrogen()->function(); }
1793 int arity() const { return hydrogen()->argument_count(); } 1811 int arity() const { return hydrogen()->argument_count(); }
1794 }; 1812 };
1795 1813
1796 1814
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
2670 2688
2671 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2689 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2672 }; 2690 };
2673 2691
2674 #undef DECLARE_HYDROGEN_ACCESSOR 2692 #undef DECLARE_HYDROGEN_ACCESSOR
2675 #undef DECLARE_CONCRETE_INSTRUCTION 2693 #undef DECLARE_CONCRETE_INSTRUCTION
2676 2694
2677 } } // namespace v8::internal 2695 } } // namespace v8::internal
2678 2696
2679 #endif // V8_ARM_LITHIUM_ARM_H_ 2697 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/lithium-arm.cc » ('j') | src/builtins.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698