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

Side by Side Diff: src/x64/lithium-x64.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(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 1646 matching lines...) Expand 10 before | Expand all | Expand 10 after
1727 1728
1728 DECLARE_CONCRETE_INSTRUCTION(CallNew, "call-new") 1729 DECLARE_CONCRETE_INSTRUCTION(CallNew, "call-new")
1729 DECLARE_HYDROGEN_ACCESSOR(CallNew) 1730 DECLARE_HYDROGEN_ACCESSOR(CallNew)
1730 1731
1731 virtual void PrintDataTo(StringStream* stream); 1732 virtual void PrintDataTo(StringStream* stream);
1732 1733
1733 int arity() const { return hydrogen()->argument_count() - 1; } 1734 int arity() const { return hydrogen()->argument_count() - 1; }
1734 }; 1735 };
1735 1736
1736 1737
1738 class LCallNewArray: public LTemplateInstruction<1, 1, 0> {
1739 public:
1740 explicit LCallNewArray(LOperand* constructor) {
1741 inputs_[0] = constructor;
1742 }
1743
1744 LOperand* constructor() { return inputs_[0]; }
1745
1746 DECLARE_CONCRETE_INSTRUCTION(CallNewArray, "call-new-array")
1747 DECLARE_HYDROGEN_ACCESSOR(CallNewArray)
1748
1749 virtual void PrintDataTo(StringStream* stream);
1750
1751 int arity() const { return hydrogen()->argument_count() - 1; }
1752 };
1753
1754
1737 class LCallRuntime: public LTemplateInstruction<1, 0, 0> { 1755 class LCallRuntime: public LTemplateInstruction<1, 0, 0> {
1738 public: 1756 public:
1739 DECLARE_CONCRETE_INSTRUCTION(CallRuntime, "call-runtime") 1757 DECLARE_CONCRETE_INSTRUCTION(CallRuntime, "call-runtime")
1740 DECLARE_HYDROGEN_ACCESSOR(CallRuntime) 1758 DECLARE_HYDROGEN_ACCESSOR(CallRuntime)
1741 1759
1742 const Runtime::Function* function() const { return hydrogen()->function(); } 1760 const Runtime::Function* function() const { return hydrogen()->function(); }
1743 int arity() const { return hydrogen()->argument_count(); } 1761 int arity() const { return hydrogen()->argument_count(); }
1744 }; 1762 };
1745 1763
1746 1764
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after
2588 2606
2589 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2607 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2590 }; 2608 };
2591 2609
2592 #undef DECLARE_HYDROGEN_ACCESSOR 2610 #undef DECLARE_HYDROGEN_ACCESSOR
2593 #undef DECLARE_CONCRETE_INSTRUCTION 2611 #undef DECLARE_CONCRETE_INSTRUCTION
2594 2612
2595 } } // namespace v8::int 2613 } } // namespace v8::int
2596 2614
2597 #endif // V8_X64_LITHIUM_X64_H_ 2615 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« src/objects.cc ('K') | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698