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

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

Issue 6258020: Revert r6543 and r6441. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 11 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 | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 310
311 void set_pointer_map(LPointerMap* p) { pointer_map_.set(p); } 311 void set_pointer_map(LPointerMap* p) { pointer_map_.set(p); }
312 LPointerMap* pointer_map() const { return pointer_map_.get(); } 312 LPointerMap* pointer_map() const { return pointer_map_.get(); }
313 bool HasPointerMap() const { return pointer_map_.is_set(); } 313 bool HasPointerMap() const { return pointer_map_.is_set(); }
314 314
315 virtual bool HasResult() const = 0; 315 virtual bool HasResult() const = 0;
316 316
317 void set_hydrogen_value(HValue* value) { hydrogen_value_ = value; } 317 void set_hydrogen_value(HValue* value) { hydrogen_value_ = value; }
318 HValue* hydrogen_value() const { return hydrogen_value_; } 318 HValue* hydrogen_value() const { return hydrogen_value_; }
319 319
320 void set_deoptimization_environment(LEnvironment* env) {
321 deoptimization_environment_.set(env);
322 }
323 LEnvironment* deoptimization_environment() const {
324 return deoptimization_environment_.get();
325 }
326 bool HasDeoptimizationEnvironment() const {
327 return deoptimization_environment_.is_set();
328 }
329
320 private: 330 private:
321 SetOncePointer<LEnvironment> environment_; 331 SetOncePointer<LEnvironment> environment_;
322 SetOncePointer<LPointerMap> pointer_map_; 332 SetOncePointer<LPointerMap> pointer_map_;
323 HValue* hydrogen_value_; 333 HValue* hydrogen_value_;
334 SetOncePointer<LEnvironment> deoptimization_environment_;
324 }; 335 };
325 336
326 337
327 template<typename ElementType, int NumElements> 338 template<typename ElementType, int NumElements>
328 class OperandContainer { 339 class OperandContainer {
329 public: 340 public:
330 OperandContainer() { 341 OperandContainer() {
331 for (int i = 0; i < NumElements; i++) elems_[i] = NULL; 342 for (int i = 0; i < NumElements; i++) elems_[i] = NULL;
332 } 343 }
333 int length() { return NumElements; } 344 int length() { return NumElements; }
(...skipping 1642 matching lines...) Expand 10 before | Expand all | Expand 10 after
1976 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 1987 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
1977 }; 1988 };
1978 1989
1979 #undef DECLARE_HYDROGEN_ACCESSOR 1990 #undef DECLARE_HYDROGEN_ACCESSOR
1980 #undef DECLARE_INSTRUCTION 1991 #undef DECLARE_INSTRUCTION
1981 #undef DECLARE_CONCRETE_INSTRUCTION 1992 #undef DECLARE_CONCRETE_INSTRUCTION
1982 1993
1983 } } // namespace v8::int 1994 } } // namespace v8::int
1984 1995
1985 #endif // V8_X64_LITHIUM_X64_H_ 1996 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698