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

Side by Side Diff: src/ia32/lithium-ia32.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/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 V(CallFunction) \ 58 V(CallFunction) \
59 V(CallGlobal) \ 59 V(CallGlobal) \
60 V(CallKeyed) \ 60 V(CallKeyed) \
61 V(CallKnownGlobal) \ 61 V(CallKnownGlobal) \
62 V(CallNamed) \ 62 V(CallNamed) \
63 V(CallNew) \ 63 V(CallNew) \
64 V(CallRuntime) \ 64 V(CallRuntime) \
65 V(CallStub) \ 65 V(CallStub) \
66 V(CheckFunction) \ 66 V(CheckFunction) \
67 V(CheckInstanceType) \ 67 V(CheckInstanceType) \
68 V(CheckMap) \ 68 V(CheckMaps) \
69 V(CheckNonSmi) \ 69 V(CheckNonSmi) \
70 V(CheckPrototypeMaps) \ 70 V(CheckPrototypeMaps) \
71 V(CheckSmi) \ 71 V(CheckSmi) \
72 V(ClampDToUint8) \ 72 V(ClampDToUint8) \
73 V(ClampIToUint8) \ 73 V(ClampIToUint8) \
74 V(ClampTToUint8) \ 74 V(ClampTToUint8) \
75 V(ClassOfTestAndBranch) \ 75 V(ClassOfTestAndBranch) \
76 V(CmpIDAndBranch) \ 76 V(CmpIDAndBranch) \
77 V(CmpObjectEqAndBranch) \ 77 V(CmpObjectEqAndBranch) \
78 V(CmpMapAndBranch) \ 78 V(CmpMapAndBranch) \
(...skipping 1828 matching lines...) Expand 10 before | Expand all | Expand 10 after
1907 LCheckInstanceType(LOperand* value, LOperand* temp) { 1907 LCheckInstanceType(LOperand* value, LOperand* temp) {
1908 inputs_[0] = value; 1908 inputs_[0] = value;
1909 temps_[0] = temp; 1909 temps_[0] = temp;
1910 } 1910 }
1911 1911
1912 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") 1912 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type")
1913 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) 1913 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType)
1914 }; 1914 };
1915 1915
1916 1916
1917 class LCheckMap: public LTemplateInstruction<0, 1, 0> { 1917 class LCheckMaps: public LTemplateInstruction<0, 1, 0> {
1918 public: 1918 public:
1919 explicit LCheckMap(LOperand* value) { 1919 explicit LCheckMaps(LOperand* value) {
1920 inputs_[0] = value; 1920 inputs_[0] = value;
1921 } 1921 }
1922 1922
1923 DECLARE_CONCRETE_INSTRUCTION(CheckMap, "check-map") 1923 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps")
1924 DECLARE_HYDROGEN_ACCESSOR(CheckMap) 1924 DECLARE_HYDROGEN_ACCESSOR(CheckMaps)
1925 }; 1925 };
1926 1926
1927 1927
1928 class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 1> { 1928 class LCheckPrototypeMaps: public LTemplateInstruction<0, 0, 1> {
1929 public: 1929 public:
1930 explicit LCheckPrototypeMaps(LOperand* temp) { 1930 explicit LCheckPrototypeMaps(LOperand* temp) {
1931 temps_[0] = temp; 1931 temps_[0] = temp;
1932 } 1932 }
1933 1933
1934 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps") 1934 DECLARE_CONCRETE_INSTRUCTION(CheckPrototypeMaps, "check-prototype-maps")
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
2474 2474
2475 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2475 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2476 }; 2476 };
2477 2477
2478 #undef DECLARE_HYDROGEN_ACCESSOR 2478 #undef DECLARE_HYDROGEN_ACCESSOR
2479 #undef DECLARE_CONCRETE_INSTRUCTION 2479 #undef DECLARE_CONCRETE_INSTRUCTION
2480 2480
2481 } } // namespace v8::internal 2481 } } // namespace v8::internal
2482 2482
2483 #endif // V8_IA32_LITHIUM_IA32_H_ 2483 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698