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

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

Issue 1123043002: [strong] Fix inlining issue (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x87/lithium-codegen-x87.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_X64_LITHIUM_X64_H_ 5 #ifndef V8_X64_LITHIUM_X64_H_
6 #define V8_X64_LITHIUM_X64_H_ 6 #define V8_X64_LITHIUM_X64_H_
7 7
8 #include "src/hydrogen.h" 8 #include "src/hydrogen.h"
9 #include "src/lithium.h" 9 #include "src/lithium.h"
10 #include "src/lithium-allocator.h" 10 #include "src/lithium-allocator.h"
(...skipping 1518 matching lines...) Expand 10 before | Expand all | Expand 10 after
1529 1529
1530 Token::Value op() const { return op_; } 1530 Token::Value op() const { return op_; }
1531 LOperand* context() { return inputs_[0]; } 1531 LOperand* context() { return inputs_[0]; }
1532 LOperand* left() { return inputs_[1]; } 1532 LOperand* left() { return inputs_[1]; }
1533 LOperand* right() { return inputs_[2]; } 1533 LOperand* right() { return inputs_[2]; }
1534 1534
1535 Opcode opcode() const override { return LInstruction::kArithmeticT; } 1535 Opcode opcode() const override { return LInstruction::kArithmeticT; }
1536 void CompileToNative(LCodeGen* generator) override; 1536 void CompileToNative(LCodeGen* generator) override;
1537 const char* Mnemonic() const override; 1537 const char* Mnemonic() const override;
1538 1538
1539 DECLARE_HYDROGEN_ACCESSOR(BinaryOperation)
1540
1541 LanguageMode language_mode() { return hydrogen()->language_mode(); }
1542
1539 private: 1543 private:
1540 Token::Value op_; 1544 Token::Value op_;
1541 }; 1545 };
1542 1546
1543 1547
1544 class LReturn final : public LTemplateInstruction<0, 3, 0> { 1548 class LReturn final : public LTemplateInstruction<0, 3, 0> {
1545 public: 1549 public:
1546 explicit LReturn(LOperand* value, 1550 explicit LReturn(LOperand* value,
1547 LOperand* context, 1551 LOperand* context,
1548 LOperand* parameter_count) { 1552 LOperand* parameter_count) {
(...skipping 1302 matching lines...) Expand 10 before | Expand all | Expand 10 after
2851 2855
2852 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2856 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2853 }; 2857 };
2854 2858
2855 #undef DECLARE_HYDROGEN_ACCESSOR 2859 #undef DECLARE_HYDROGEN_ACCESSOR
2856 #undef DECLARE_CONCRETE_INSTRUCTION 2860 #undef DECLARE_CONCRETE_INSTRUCTION
2857 2861
2858 } } // namespace v8::int 2862 } } // namespace v8::int
2859 2863
2860 #endif // V8_X64_LITHIUM_X64_H_ 2864 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698