| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 } | 443 } |
| 444 static inline bool IsComment(Mode mode) { | 444 static inline bool IsComment(Mode mode) { |
| 445 return mode == COMMENT; | 445 return mode == COMMENT; |
| 446 } | 446 } |
| 447 static inline bool IsConstPool(Mode mode) { | 447 static inline bool IsConstPool(Mode mode) { |
| 448 return mode == CONST_POOL; | 448 return mode == CONST_POOL; |
| 449 } | 449 } |
| 450 static inline bool IsVeneerPool(Mode mode) { | 450 static inline bool IsVeneerPool(Mode mode) { |
| 451 return mode == VENEER_POOL; | 451 return mode == VENEER_POOL; |
| 452 } | 452 } |
| 453 static inline bool IsDeoptReason(Mode mode) { |
| 454 return mode == DEOPT_REASON; |
| 455 } |
| 453 static inline bool IsPosition(Mode mode) { | 456 static inline bool IsPosition(Mode mode) { |
| 454 return mode == POSITION || mode == STATEMENT_POSITION; | 457 return mode == POSITION || mode == STATEMENT_POSITION; |
| 455 } | 458 } |
| 456 static inline bool IsStatementPosition(Mode mode) { | 459 static inline bool IsStatementPosition(Mode mode) { |
| 457 return mode == STATEMENT_POSITION; | 460 return mode == STATEMENT_POSITION; |
| 458 } | 461 } |
| 459 static inline bool IsExternalReference(Mode mode) { | 462 static inline bool IsExternalReference(Mode mode) { |
| 460 return mode == EXTERNAL_REFERENCE; | 463 return mode == EXTERNAL_REFERENCE; |
| 461 } | 464 } |
| 462 static inline bool IsInternalReference(Mode mode) { | 465 static inline bool IsInternalReference(Mode mode) { |
| (...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1132 NullCallWrapper() { } | 1135 NullCallWrapper() { } |
| 1133 virtual ~NullCallWrapper() { } | 1136 virtual ~NullCallWrapper() { } |
| 1134 virtual void BeforeCall(int call_size) const { } | 1137 virtual void BeforeCall(int call_size) const { } |
| 1135 virtual void AfterCall() const { } | 1138 virtual void AfterCall() const { } |
| 1136 }; | 1139 }; |
| 1137 | 1140 |
| 1138 | 1141 |
| 1139 } } // namespace v8::internal | 1142 } } // namespace v8::internal |
| 1140 | 1143 |
| 1141 #endif // V8_ASSEMBLER_H_ | 1144 #endif // V8_ASSEMBLER_H_ |
| OLD | NEW |