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

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

Issue 9304001: Implement inlining of constructor calls. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed moar comments by Vyacheslav Egorov. 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 #define LITHIUM_ALL_INSTRUCTION_LIST(V) \ 43 #define LITHIUM_ALL_INSTRUCTION_LIST(V) \
44 V(ControlInstruction) \ 44 V(ControlInstruction) \
45 V(Call) \ 45 V(Call) \
46 LITHIUM_CONCRETE_INSTRUCTION_LIST(V) 46 LITHIUM_CONCRETE_INSTRUCTION_LIST(V)
47 47
48 48
49 #define LITHIUM_CONCRETE_INSTRUCTION_LIST(V) \ 49 #define LITHIUM_CONCRETE_INSTRUCTION_LIST(V) \
50 V(AccessArgumentsAt) \ 50 V(AccessArgumentsAt) \
51 V(AddI) \ 51 V(AddI) \
52 V(AllocateObject) \
52 V(ApplyArguments) \ 53 V(ApplyArguments) \
53 V(ArgumentsElements) \ 54 V(ArgumentsElements) \
54 V(ArgumentsLength) \ 55 V(ArgumentsLength) \
55 V(ArithmeticD) \ 56 V(ArithmeticD) \
56 V(ArithmeticT) \ 57 V(ArithmeticT) \
57 V(ArrayLiteral) \ 58 V(ArrayLiteral) \
58 V(BitI) \ 59 V(BitI) \
59 V(BitNotI) \ 60 V(BitNotI) \
60 V(BoundsCheck) \ 61 V(BoundsCheck) \
61 V(Branch) \ 62 V(Branch) \
(...skipping 1829 matching lines...) Expand 10 before | Expand all | Expand 10 after
1891 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { 1892 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> {
1892 public: 1893 public:
1893 explicit LCheckNonSmi(LOperand* value) { 1894 explicit LCheckNonSmi(LOperand* value) {
1894 inputs_[0] = value; 1895 inputs_[0] = value;
1895 } 1896 }
1896 1897
1897 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") 1898 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi")
1898 }; 1899 };
1899 1900
1900 1901
1902 class LAllocateObject: public LTemplateInstruction<1, 0, 0> {
1903 public:
1904 DECLARE_CONCRETE_INSTRUCTION(AllocateObject, "allocate-object")
1905 DECLARE_HYDROGEN_ACCESSOR(AllocateObject)
1906 };
1907
1908
1901 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> { 1909 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> {
1902 public: 1910 public:
1903 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") 1911 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal")
1904 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) 1912 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral)
1905 }; 1913 };
1906 1914
1907 1915
1908 class LObjectLiteralFast: public LTemplateInstruction<1, 0, 0> { 1916 class LObjectLiteralFast: public LTemplateInstruction<1, 0, 0> {
1909 public: 1917 public:
1910 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteralFast, "object-literal-fast") 1918 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteralFast, "object-literal-fast")
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
2256 2264
2257 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2265 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2258 }; 2266 };
2259 2267
2260 #undef DECLARE_HYDROGEN_ACCESSOR 2268 #undef DECLARE_HYDROGEN_ACCESSOR
2261 #undef DECLARE_CONCRETE_INSTRUCTION 2269 #undef DECLARE_CONCRETE_INSTRUCTION
2262 2270
2263 } } // namespace v8::int 2271 } } // namespace v8::int
2264 2272
2265 #endif // V8_X64_LITHIUM_X64_H_ 2273 #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