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

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

Issue 183023008: Merged r19545, r19668, r19670 into 3.24 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.24
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 1548 matching lines...) Expand 10 before | Expand all | Expand 10 after
1559 virtual int RedefinedOperandIndex() { return 0; } 1559 virtual int RedefinedOperandIndex() { return 0; }
1560 1560
1561 private: 1561 private:
1562 HCompareMap(HValue* value, 1562 HCompareMap(HValue* value,
1563 Handle<Map> map, 1563 Handle<Map> map,
1564 HBasicBlock* true_target = NULL, 1564 HBasicBlock* true_target = NULL,
1565 HBasicBlock* false_target = NULL) 1565 HBasicBlock* false_target = NULL)
1566 : HUnaryControlInstruction(value, true_target, false_target), 1566 : HUnaryControlInstruction(value, true_target, false_target),
1567 known_successor_index_(kNoKnownSuccessorIndex), map_(Unique<Map>(map)) { 1567 known_successor_index_(kNoKnownSuccessorIndex), map_(Unique<Map>(map)) {
1568 ASSERT(!map.is_null()); 1568 ASSERT(!map.is_null());
1569 set_representation(Representation::Tagged());
1569 } 1570 }
1570 1571
1571 int known_successor_index_; 1572 int known_successor_index_;
1572 Unique<Map> map_; 1573 Unique<Map> map_;
1573 }; 1574 };
1574 1575
1575 1576
1576 class HContext V8_FINAL : public HTemplateInstruction<0> { 1577 class HContext V8_FINAL : public HTemplateInstruction<0> {
1577 public: 1578 public:
1578 static HContext* New(Zone* zone) { 1579 static HContext* New(Zone* zone) {
(...skipping 5846 matching lines...) Expand 10 before | Expand all | Expand 10 after
7425 virtual bool IsDeletable() const V8_OVERRIDE { return true; } 7426 virtual bool IsDeletable() const V8_OVERRIDE { return true; }
7426 }; 7427 };
7427 7428
7428 7429
7429 #undef DECLARE_INSTRUCTION 7430 #undef DECLARE_INSTRUCTION
7430 #undef DECLARE_CONCRETE_INSTRUCTION 7431 #undef DECLARE_CONCRETE_INSTRUCTION
7431 7432
7432 } } // namespace v8::internal 7433 } } // namespace v8::internal
7433 7434
7434 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 7435 #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