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

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

Issue 545673003: X87: enable snapshot (Closed) Base URL: https://github.com/v8/v8.git@bleeding_edge
Patch Set: Created 6 years, 3 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 | « no previous file | src/x87/lithium-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_X87_LITHIUM_X87_H_ 5 #ifndef V8_X87_LITHIUM_X87_H_
6 #define V8_X87_LITHIUM_X87_H_ 6 #define V8_X87_LITHIUM_X87_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 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after
1329 public: 1329 public:
1330 DECLARE_CONCRETE_INSTRUCTION(ConstantS, "constant-s") 1330 DECLARE_CONCRETE_INSTRUCTION(ConstantS, "constant-s")
1331 DECLARE_HYDROGEN_ACCESSOR(Constant) 1331 DECLARE_HYDROGEN_ACCESSOR(Constant)
1332 1332
1333 Smi* value() const { return Smi::FromInt(hydrogen()->Integer32Value()); } 1333 Smi* value() const { return Smi::FromInt(hydrogen()->Integer32Value()); }
1334 }; 1334 };
1335 1335
1336 1336
1337 class LConstantD FINAL : public LTemplateInstruction<1, 0, 1> { 1337 class LConstantD FINAL : public LTemplateInstruction<1, 0, 1> {
1338 public: 1338 public:
1339 explicit LConstantD(LOperand* temp) {
1340 temps_[0] = temp;
1341 }
1342
1343 LOperand* temp() { return temps_[0]; }
1344
1345 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") 1339 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d")
1346 DECLARE_HYDROGEN_ACCESSOR(Constant) 1340 DECLARE_HYDROGEN_ACCESSOR(Constant)
1347 1341
1348 double value() const { return hydrogen()->DoubleValue(); } 1342 double value() const { return hydrogen()->DoubleValue(); }
1349 }; 1343 };
1350 1344
1351 1345
1352 class LConstantE FINAL : public LTemplateInstruction<1, 0, 0> { 1346 class LConstantE FINAL : public LTemplateInstruction<1, 0, 0> {
1353 public: 1347 public:
1354 DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e") 1348 DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e")
(...skipping 1552 matching lines...) Expand 10 before | Expand all | Expand 10 after
2907 2901
2908 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2902 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2909 }; 2903 };
2910 2904
2911 #undef DECLARE_HYDROGEN_ACCESSOR 2905 #undef DECLARE_HYDROGEN_ACCESSOR
2912 #undef DECLARE_CONCRETE_INSTRUCTION 2906 #undef DECLARE_CONCRETE_INSTRUCTION
2913 2907
2914 } } // namespace v8::internal 2908 } } // namespace v8::internal
2915 2909
2916 #endif // V8_X87_LITHIUM_X87_H_ 2910 #endif // V8_X87_LITHIUM_X87_H_
OLDNEW
« no previous file with comments | « no previous file | src/x87/lithium-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698