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

Side by Side Diff: src/arm/lithium-arm.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 | « no previous file | src/arm/lithium-arm.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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(CheckNonSmi) \ 74 V(CheckNonSmi) \
75 V(CheckMap) \ 75 V(CheckMaps) \
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) \
85 V(CmpMapAndBranch) \ 85 V(CmpMapAndBranch) \
(...skipping 1746 matching lines...) Expand 10 before | Expand all | Expand 10 after
1832 public: 1832 public:
1833 explicit LCheckInstanceType(LOperand* value) { 1833 explicit LCheckInstanceType(LOperand* value) {
1834 inputs_[0] = value; 1834 inputs_[0] = value;
1835 } 1835 }
1836 1836
1837 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") 1837 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type")
1838 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) 1838 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType)
1839 }; 1839 };
1840 1840
1841 1841
1842 class LCheckMap: public LTemplateInstruction<0, 1, 0> { 1842 class LCheckMaps: public LTemplateInstruction<0, 1, 0> {
1843 public: 1843 public:
1844 explicit LCheckMap(LOperand* value) { 1844 explicit LCheckMaps(LOperand* value) {
1845 inputs_[0] = value; 1845 inputs_[0] = value;
1846 } 1846 }
1847 1847
1848 DECLARE_CONCRETE_INSTRUCTION(CheckMap, "check-map") 1848 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps")
1849 DECLARE_HYDROGEN_ACCESSOR(CheckMap) 1849 DECLARE_HYDROGEN_ACCESSOR(CheckMaps)
1850 }; 1850 };
1851 1851
1852 1852
1853 class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 2> { 1853 class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 2> {
1854 public: 1854 public:
1855 LCheckPrototypeMaps(LOperand* temp1, LOperand* temp2) { 1855 LCheckPrototypeMaps(LOperand* temp1, LOperand* temp2) {
1856 temps_[0] = temp1; 1856 temps_[0] = temp1;
1857 temps_[1] = temp2; 1857 temps_[1] = temp2;
1858 } 1858 }
1859 1859
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
2353 2353
2354 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2354 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2355 }; 2355 };
2356 2356
2357 #undef DECLARE_HYDROGEN_ACCESSOR 2357 #undef DECLARE_HYDROGEN_ACCESSOR
2358 #undef DECLARE_CONCRETE_INSTRUCTION 2358 #undef DECLARE_CONCRETE_INSTRUCTION
2359 2359
2360 } } // namespace v8::internal 2360 } } // namespace v8::internal
2361 2361
2362 #endif // V8_ARM_LITHIUM_ARM_H_ 2362 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698