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

Side by Side Diff: src/mips/lithium-mips.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/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 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 1746 matching lines...) Expand 10 before | Expand all | Expand 10 after
1831 public: 1831 public:
1832 explicit LCheckInstanceType(LOperand* value) { 1832 explicit LCheckInstanceType(LOperand* value) {
1833 inputs_[0] = value; 1833 inputs_[0] = value;
1834 } 1834 }
1835 1835
1836 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") 1836 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type")
1837 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) 1837 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType)
1838 }; 1838 };
1839 1839
1840 1840
1841 class LCheckMap: public LTemplateInstruction<0, 1, 0> { 1841 class LCheckMaps: public LTemplateInstruction<0, 1, 0> {
1842 public: 1842 public:
1843 explicit LCheckMap(LOperand* value) { 1843 explicit LCheckMaps(LOperand* value) {
1844 inputs_[0] = value; 1844 inputs_[0] = value;
1845 } 1845 }
1846 1846
1847 DECLARE_CONCRETE_INSTRUCTION(CheckMap, "check-map") 1847 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps")
1848 DECLARE_HYDROGEN_ACCESSOR(CheckMap) 1848 DECLARE_HYDROGEN_ACCESSOR(CheckMaps)
1849 }; 1849 };
1850 1850
1851 1851
1852 class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 2> { 1852 class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 2> {
1853 public: 1853 public:
1854 LCheckPrototypeMaps(LOperand* temp1, LOperand* temp2) { 1854 LCheckPrototypeMaps(LOperand* temp1, LOperand* temp2) {
1855 temps_[0] = temp1; 1855 temps_[0] = temp1;
1856 temps_[1] = temp2; 1856 temps_[1] = temp2;
1857 } 1857 }
1858 1858
(...skipping 494 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_MIPS_LITHIUM_MIPS_H_ 2362 #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