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

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

Issue 9370019: Implement inlined object allocation in Crankshaft. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed 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 1893 matching lines...) Expand 10 before | Expand all | Expand 10 after
1904 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { 1904 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> {
1905 public: 1905 public:
1906 explicit LCheckNonSmi(LOperand* value) { 1906 explicit LCheckNonSmi(LOperand* value) {
1907 inputs_[0] = value; 1907 inputs_[0] = value;
1908 } 1908 }
1909 1909
1910 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") 1910 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi")
1911 }; 1911 };
1912 1912
1913 1913
1914 class LAllocateObject: public LTemplateInstruction<1, 0, 0> { 1914 class LAllocateObject: public LTemplateInstruction<1, 0, 1> {
1915 public: 1915 public:
1916 explicit LAllocateObject(LOperand* temp) {
1917 temps_[0] = temp;
1918 }
1919
1916 DECLARE_CONCRETE_INSTRUCTION(AllocateObject, "allocate-object") 1920 DECLARE_CONCRETE_INSTRUCTION(AllocateObject, "allocate-object")
1917 DECLARE_HYDROGEN_ACCESSOR(AllocateObject) 1921 DECLARE_HYDROGEN_ACCESSOR(AllocateObject)
1918 }; 1922 };
1919 1923
1920 1924
1921 class LFastLiteral: public LTemplateInstruction<1, 0, 0> { 1925 class LFastLiteral: public LTemplateInstruction<1, 0, 0> {
1922 public: 1926 public:
1923 DECLARE_CONCRETE_INSTRUCTION(FastLiteral, "fast-literal") 1927 DECLARE_CONCRETE_INSTRUCTION(FastLiteral, "fast-literal")
1924 DECLARE_HYDROGEN_ACCESSOR(FastLiteral) 1928 DECLARE_HYDROGEN_ACCESSOR(FastLiteral)
1925 }; 1929 };
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
2330 2334
2331 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2335 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2332 }; 2336 };
2333 2337
2334 #undef DECLARE_HYDROGEN_ACCESSOR 2338 #undef DECLARE_HYDROGEN_ACCESSOR
2335 #undef DECLARE_CONCRETE_INSTRUCTION 2339 #undef DECLARE_CONCRETE_INSTRUCTION
2336 2340
2337 } } // namespace v8::int 2341 } } // namespace v8::int
2338 2342
2339 #endif // V8_X64_LITHIUM_X64_H_ 2343 #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