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

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

Issue 9616014: Improve polymorphic loads on single slots. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Renamed CheckMap to CheckMaps. Created 8 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/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 V(CallFunction) \ 64 V(CallFunction) \
65 V(CallGlobal) \ 65 V(CallGlobal) \
66 V(CallKeyed) \ 66 V(CallKeyed) \
67 V(CallKnownGlobal) \ 67 V(CallKnownGlobal) \
68 V(CallNamed) \ 68 V(CallNamed) \
69 V(CallNew) \ 69 V(CallNew) \
70 V(CallRuntime) \ 70 V(CallRuntime) \
71 V(CallStub) \ 71 V(CallStub) \
72 V(CheckFunction) \ 72 V(CheckFunction) \
73 V(CheckInstanceType) \ 73 V(CheckInstanceType) \
74 V(CheckMap) \ 74 V(CheckMaps) \
75 V(CheckNonSmi) \ 75 V(CheckNonSmi) \
76 V(CheckPrototypeMaps) \ 76 V(CheckPrototypeMaps) \
77 V(CheckSmi) \ 77 V(CheckSmi) \
78 V(ClampDToUint8) \ 78 V(ClampDToUint8) \
79 V(ClampIToUint8) \ 79 V(ClampIToUint8) \
80 V(ClampTToUint8) \ 80 V(ClampTToUint8) \
81 V(ClassOfTestAndBranch) \ 81 V(ClassOfTestAndBranch) \
82 V(CmpConstantEqAndBranch) \ 82 V(CmpConstantEqAndBranch) \
83 V(CmpIDAndBranch) \ 83 V(CmpIDAndBranch) \
84 V(CmpObjectEqAndBranch) \ 84 V(CmpObjectEqAndBranch) \
(...skipping 1733 matching lines...) Expand 10 before | Expand all | Expand 10 after
1818 public: 1818 public:
1819 explicit LCheckInstanceType(LOperand* value) { 1819 explicit LCheckInstanceType(LOperand* value) {
1820 inputs_[0] = value; 1820 inputs_[0] = value;
1821 } 1821 }
1822 1822
1823 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") 1823 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type")
1824 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) 1824 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType)
1825 }; 1825 };
1826 1826
1827 1827
1828 class LCheckMap: public LTemplateInstruction<0, 1, 0> { 1828 class LCheckMaps: public LTemplateInstruction<0, 1, 0> {
1829 public: 1829 public:
1830 explicit LCheckMap(LOperand* value) { 1830 explicit LCheckMaps(LOperand* value) {
1831 inputs_[0] = value; 1831 inputs_[0] = value;
1832 } 1832 }
1833 1833
1834 DECLARE_CONCRETE_INSTRUCTION(CheckMap, "check-map") 1834 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps")
1835 DECLARE_HYDROGEN_ACCESSOR(CheckMap) 1835 DECLARE_HYDROGEN_ACCESSOR(CheckMaps)
1836 }; 1836 };
1837 1837
1838 1838
1839 class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 1> { 1839 class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 1> {
1840 public: 1840 public:
1841 explicit LCheckPrototypeMaps(LOperand* temp) { 1841 explicit LCheckPrototypeMaps(LOperand* temp) {
1842 temps_[0] = temp; 1842 temps_[0] = temp;
1843 } 1843 }
1844 1844
1845 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") 1845 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps")
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
2337 2337
2338 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2338 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2339 }; 2339 };
2340 2340
2341 #undef DECLARE_HYDROGEN_ACCESSOR 2341 #undef DECLARE_HYDROGEN_ACCESSOR
2342 #undef DECLARE_CONCRETE_INSTRUCTION 2342 #undef DECLARE_CONCRETE_INSTRUCTION
2343 2343
2344 } } // namespace v8::int 2344 } } // namespace v8::int
2345 2345
2346 #endif // V8_X64_LITHIUM_X64_H_ 2346 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « 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