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

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

Issue 25715002: Fix improper usage of V8_OVERRIDE. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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 | no next file » | 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 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1178 1178
1179 1179
1180 class HControlInstruction : public HInstruction { 1180 class HControlInstruction : public HInstruction {
1181 public: 1181 public:
1182 virtual HBasicBlock* SuccessorAt(int i) = 0; 1182 virtual HBasicBlock* SuccessorAt(int i) = 0;
1183 virtual int SuccessorCount() = 0; 1183 virtual int SuccessorCount() = 0;
1184 virtual void SetSuccessorAt(int i, HBasicBlock* block) = 0; 1184 virtual void SetSuccessorAt(int i, HBasicBlock* block) = 0;
1185 1185
1186 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; 1186 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
1187 1187
1188 virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE { 1188 virtual bool KnownSuccessorBlock(HBasicBlock** block) {
1189 *block = NULL; 1189 *block = NULL;
1190 return false; 1190 return false;
1191 } 1191 }
1192 1192
1193 HBasicBlock* FirstSuccessor() { 1193 HBasicBlock* FirstSuccessor() {
1194 return SuccessorCount() > 0 ? SuccessorAt(0) : NULL; 1194 return SuccessorCount() > 0 ? SuccessorAt(0) : NULL;
1195 } 1195 }
1196 HBasicBlock* SecondSuccessor() { 1196 HBasicBlock* SecondSuccessor() {
1197 return SuccessorCount() > 1 ? SuccessorAt(1) : NULL; 1197 return SuccessorCount() > 1 ? SuccessorAt(1) : NULL;
1198 } 1198 }
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1316 class HDeoptimize V8_FINAL : public HTemplateControlInstruction<1, 0> { 1316 class HDeoptimize V8_FINAL : public HTemplateControlInstruction<1, 0> {
1317 public: 1317 public:
1318 static HInstruction* New(Zone* zone, 1318 static HInstruction* New(Zone* zone,
1319 HValue* context, 1319 HValue* context,
1320 const char* reason, 1320 const char* reason,
1321 Deoptimizer::BailoutType type, 1321 Deoptimizer::BailoutType type,
1322 HBasicBlock* unreachable_continuation) { 1322 HBasicBlock* unreachable_continuation) {
1323 return new(zone) HDeoptimize(reason, type, unreachable_continuation); 1323 return new(zone) HDeoptimize(reason, type, unreachable_continuation);
1324 } 1324 }
1325 1325
1326 virtual bool KnownSuccessorBlock(HBasicBlock** block) { 1326 virtual bool KnownSuccessorBlock(HBasicBlock** block) V8_OVERRIDE {
1327 *block = NULL; 1327 *block = NULL;
1328 return true; 1328 return true;
1329 } 1329 }
1330 1330
1331 virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE { 1331 virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
1332 return Representation::None(); 1332 return Representation::None();
1333 } 1333 }
1334 1334
1335 const char* reason() const { return reason_; } 1335 const char* reason() const { return reason_; }
1336 Deoptimizer::BailoutType type() { return type_; } 1336 Deoptimizer::BailoutType type() { return type_; }
(...skipping 5769 matching lines...) Expand 10 before | Expand all | Expand 10 after
7106 virtual bool IsDeletable() const V8_OVERRIDE { return true; } 7106 virtual bool IsDeletable() const V8_OVERRIDE { return true; }
7107 }; 7107 };
7108 7108
7109 7109
7110 #undef DECLARE_INSTRUCTION 7110 #undef DECLARE_INSTRUCTION
7111 #undef DECLARE_CONCRETE_INSTRUCTION 7111 #undef DECLARE_CONCRETE_INSTRUCTION
7112 7112
7113 } } // namespace v8::internal 7113 } } // namespace v8::internal
7114 7114
7115 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 7115 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698