| OLD | NEW | 
|     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 1859 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1870  public: |  1870  public: | 
|  1871   HSimulate(BailoutId ast_id, |  1871   HSimulate(BailoutId ast_id, | 
|  1872             int pop_count, |  1872             int pop_count, | 
|  1873             Zone* zone, |  1873             Zone* zone, | 
|  1874             RemovableSimulate removable) |  1874             RemovableSimulate removable) | 
|  1875       : ast_id_(ast_id), |  1875       : ast_id_(ast_id), | 
|  1876         pop_count_(pop_count), |  1876         pop_count_(pop_count), | 
|  1877         values_(2, zone), |  1877         values_(2, zone), | 
|  1878         assigned_indexes_(2, zone), |  1878         assigned_indexes_(2, zone), | 
|  1879         zone_(zone), |  1879         zone_(zone), | 
|  1880         removable_(removable) {} |  1880         removable_(removable), | 
 |  1881         done_with_replay_(false) {} | 
|  1881   ~HSimulate() {} |  1882   ~HSimulate() {} | 
|  1882  |  1883  | 
|  1883   virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; |  1884   virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE; | 
|  1884  |  1885  | 
|  1885   bool HasAstId() const { return !ast_id_.IsNone(); } |  1886   bool HasAstId() const { return !ast_id_.IsNone(); } | 
|  1886   BailoutId ast_id() const { return ast_id_; } |  1887   BailoutId ast_id() const { return ast_id_; } | 
|  1887   void set_ast_id(BailoutId id) { |  1888   void set_ast_id(BailoutId id) { | 
|  1888     ASSERT(!HasAstId()); |  1889     ASSERT(!HasAstId()); | 
|  1889     ast_id_ = id; |  1890     ast_id_ = id; | 
|  1890   } |  1891   } | 
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1953     for (int i = 0; i < assigned_indexes_.length(); ++i) { |  1954     for (int i = 0; i < assigned_indexes_.length(); ++i) { | 
|  1954       if (assigned_indexes_[i] == index) return true; |  1955       if (assigned_indexes_[i] == index) return true; | 
|  1955     } |  1956     } | 
|  1956     return false; |  1957     return false; | 
|  1957   } |  1958   } | 
|  1958   BailoutId ast_id_; |  1959   BailoutId ast_id_; | 
|  1959   int pop_count_; |  1960   int pop_count_; | 
|  1960   ZoneList<HValue*> values_; |  1961   ZoneList<HValue*> values_; | 
|  1961   ZoneList<int> assigned_indexes_; |  1962   ZoneList<int> assigned_indexes_; | 
|  1962   Zone* zone_; |  1963   Zone* zone_; | 
|  1963   RemovableSimulate removable_; |  1964   RemovableSimulate removable_ : 2; | 
 |  1965   bool done_with_replay_ : 1; | 
|  1964  |  1966  | 
|  1965 #ifdef DEBUG |  1967 #ifdef DEBUG | 
|  1966   Handle<JSFunction> closure_; |  1968   Handle<JSFunction> closure_; | 
|  1967 #endif |  1969 #endif | 
|  1968 }; |  1970 }; | 
|  1969  |  1971  | 
|  1970  |  1972  | 
|  1971 class HEnvironmentMarker V8_FINAL : public HTemplateInstruction<1> { |  1973 class HEnvironmentMarker V8_FINAL : public HTemplateInstruction<1> { | 
|  1972  public: |  1974  public: | 
|  1973   enum Kind { BIND, LOOKUP }; |  1975   enum Kind { BIND, LOOKUP }; | 
| (...skipping 5543 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  7517   virtual bool IsDeletable() const V8_OVERRIDE { return true; } |  7519   virtual bool IsDeletable() const V8_OVERRIDE { return true; } | 
|  7518 }; |  7520 }; | 
|  7519  |  7521  | 
|  7520  |  7522  | 
|  7521 #undef DECLARE_INSTRUCTION |  7523 #undef DECLARE_INSTRUCTION | 
|  7522 #undef DECLARE_CONCRETE_INSTRUCTION |  7524 #undef DECLARE_CONCRETE_INSTRUCTION | 
|  7523  |  7525  | 
|  7524 } }  // namespace v8::internal |  7526 } }  // namespace v8::internal | 
|  7525  |  7527  | 
|  7526 #endif  // V8_HYDROGEN_INSTRUCTIONS_H_ |  7528 #endif  // V8_HYDROGEN_INSTRUCTIONS_H_ | 
| OLD | NEW |