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

Side by Side Diff: src/mips/lithium-mips.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/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 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 1840 matching lines...) Expand 10 before | Expand all | Expand 10 after
1902 inputs_[0] = value; 1903 inputs_[0] = value;
1903 temps_[0] = temp; 1904 temps_[0] = temp;
1904 } 1905 }
1905 1906
1906 LOperand* unclamped() { return inputs_[0]; } 1907 LOperand* unclamped() { return inputs_[0]; }
1907 1908
1908 DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8") 1909 DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8")
1909 }; 1910 };
1910 1911
1911 1912
1913 class LAllocateObject: public LTemplateInstruction<1, 0, 0> {
1914 public:
1915 DECLARE_CONCRETE_INSTRUCTION(AllocateObject, "allocate-object")
1916 DECLARE_HYDROGEN_ACCESSOR(AllocateObject)
1917 };
1918
1919
1912 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> { 1920 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> {
1913 public: 1921 public:
1914 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") 1922 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal")
1915 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) 1923 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral)
1916 }; 1924 };
1917 1925
1918 1926
1919 class LObjectLiteralFast: public LTemplateInstruction<1, 0, 0> { 1927 class LObjectLiteralFast: public LTemplateInstruction<1, 0, 0> {
1920 public: 1928 public:
1921 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteralFast, "object-literal-fast") 1929 DECLARE_CONCRETE_INSTRUCTION(ObjectLiteralFast, "object-literal-fast")
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
2271 2279
2272 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2280 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2273 }; 2281 };
2274 2282
2275 #undef DECLARE_HYDROGEN_ACCESSOR 2283 #undef DECLARE_HYDROGEN_ACCESSOR
2276 #undef DECLARE_CONCRETE_INSTRUCTION 2284 #undef DECLARE_CONCRETE_INSTRUCTION
2277 2285
2278 } } // namespace v8::internal 2286 } } // namespace v8::internal
2279 2287
2280 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2288 #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