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

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

Issue 23619052: Add missing factory method for HDebugBreak. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | 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 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after
1296 : reason_(reason), type_(type) {} 1296 : reason_(reason), type_(type) {}
1297 1297
1298 const char* reason_; 1298 const char* reason_;
1299 Deoptimizer::BailoutType type_; 1299 Deoptimizer::BailoutType type_;
1300 }; 1300 };
1301 1301
1302 1302
1303 // Inserts an int3/stop break instruction for debugging purposes. 1303 // Inserts an int3/stop break instruction for debugging purposes.
1304 class HDebugBreak V8_FINAL : public HTemplateInstruction<0> { 1304 class HDebugBreak V8_FINAL : public HTemplateInstruction<0> {
1305 public: 1305 public:
1306 DECLARE_INSTRUCTION_FACTORY_P0(HDebugBreak);
1307
1306 virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE { 1308 virtual Representation RequiredInputRepresentation(int index) V8_OVERRIDE {
1307 return Representation::None(); 1309 return Representation::None();
1308 } 1310 }
1309 1311
1310 DECLARE_CONCRETE_INSTRUCTION(DebugBreak) 1312 DECLARE_CONCRETE_INSTRUCTION(DebugBreak)
1311 }; 1313 };
1312 1314
1313 1315
1314 class HGoto V8_FINAL : public HTemplateControlInstruction<1, 0> { 1316 class HGoto V8_FINAL : public HTemplateControlInstruction<1, 0> {
1315 public: 1317 public:
(...skipping 5653 matching lines...) Expand 10 before | Expand all | Expand 10 after
6969 virtual bool IsDeletable() const V8_OVERRIDE { return true; } 6971 virtual bool IsDeletable() const V8_OVERRIDE { return true; }
6970 }; 6972 };
6971 6973
6972 6974
6973 #undef DECLARE_INSTRUCTION 6975 #undef DECLARE_INSTRUCTION
6974 #undef DECLARE_CONCRETE_INSTRUCTION 6976 #undef DECLARE_CONCRETE_INSTRUCTION
6975 6977
6976 } } // namespace v8::internal 6978 } } // namespace v8::internal
6977 6979
6978 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 6980 #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