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

Side by Side Diff: src/hydrogen-instructions.h

Issue 184983006: Merged r18564, r19545, r19668, r19670 into 3.23 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.23
Patch Set: Created 6 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 | « no previous file | src/json-stringifier.h » ('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 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after
1541 virtual int RedefinedOperandIndex() { return 0; } 1541 virtual int RedefinedOperandIndex() { return 0; }
1542 1542
1543 private: 1543 private:
1544 HCompareMap(HValue* value, 1544 HCompareMap(HValue* value,
1545 Handle<Map> map, 1545 Handle<Map> map,
1546 HBasicBlock* true_target = NULL, 1546 HBasicBlock* true_target = NULL,
1547 HBasicBlock* false_target = NULL) 1547 HBasicBlock* false_target = NULL)
1548 : HUnaryControlInstruction(value, true_target, false_target), 1548 : HUnaryControlInstruction(value, true_target, false_target),
1549 map_(Unique<Map>(map)) { 1549 map_(Unique<Map>(map)) {
1550 ASSERT(!map.is_null()); 1550 ASSERT(!map.is_null());
1551 set_representation(Representation::Tagged());
1551 } 1552 }
1552 1553
1553 Unique<Map> map_; 1554 Unique<Map> map_;
1554 }; 1555 };
1555 1556
1556 1557
1557 class HContext V8_FINAL : public HTemplateInstruction<0> { 1558 class HContext V8_FINAL : public HTemplateInstruction<0> {
1558 public: 1559 public:
1559 static HContext* New(Zone* zone) { 1560 static HContext* New(Zone* zone) {
1560 return new(zone) HContext(); 1561 return new(zone) HContext();
(...skipping 5927 matching lines...) Expand 10 before | Expand all | Expand 10 after
7488 virtual bool IsDeletable() const V8_OVERRIDE { return true; } 7489 virtual bool IsDeletable() const V8_OVERRIDE { return true; }
7489 }; 7490 };
7490 7491
7491 7492
7492 #undef DECLARE_INSTRUCTION 7493 #undef DECLARE_INSTRUCTION
7493 #undef DECLARE_CONCRETE_INSTRUCTION 7494 #undef DECLARE_CONCRETE_INSTRUCTION
7494 7495
7495 } } // namespace v8::internal 7496 } } // namespace v8::internal
7496 7497
7497 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 7498 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « no previous file | src/json-stringifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698