| OLD | NEW | 
|---|
| 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 727 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 738 | 738 | 
| 739   Major MajorKey() { return CallFunction; } | 739   Major MajorKey() { return CallFunction; } | 
| 740   int MinorKey() { | 740   int MinorKey() { | 
| 741     // Encode the parameters in a unique 32 bit value. | 741     // Encode the parameters in a unique 32 bit value. | 
| 742     return InLoopBits::encode(in_loop_) | 742     return InLoopBits::encode(in_loop_) | 
| 743            | FlagBits::encode(flags_) | 743            | FlagBits::encode(flags_) | 
| 744            | ArgcBits::encode(argc_); | 744            | ArgcBits::encode(argc_); | 
| 745   } | 745   } | 
| 746 | 746 | 
| 747   InLoopFlag InLoop() { return in_loop_; } | 747   InLoopFlag InLoop() { return in_loop_; } | 
| 748   bool ReceiverMightBeValue() { | 748 | 
| 749     return (flags_ & RECEIVER_MIGHT_BE_VALUE) != 0; | 749   bool ReceiverMightBeImplicit() { | 
|  | 750     return (flags_ & RECEIVER_MIGHT_BE_IMPLICIT) != 0; | 
| 750   } | 751   } | 
| 751 }; | 752 }; | 
| 752 | 753 | 
| 753 | 754 | 
| 754 enum StringIndexFlags { | 755 enum StringIndexFlags { | 
| 755   // Accepts smis or heap numbers. | 756   // Accepts smis or heap numbers. | 
| 756   STRING_INDEX_IS_NUMBER, | 757   STRING_INDEX_IS_NUMBER, | 
| 757 | 758 | 
| 758   // Accepts smis or heap numbers that are valid array indices | 759   // Accepts smis or heap numbers that are valid array indices | 
| 759   // (ECMA-262 15.4). Invalid indices are reported as being out of | 760   // (ECMA-262 15.4). Invalid indices are reported as being out of | 
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1001   DECLARE_ARRAY_STUB_PRINT(KeyedStoreExternalArrayStub) | 1002   DECLARE_ARRAY_STUB_PRINT(KeyedStoreExternalArrayStub) | 
| 1002 | 1003 | 
| 1003  protected: | 1004  protected: | 
| 1004   ExternalArrayType array_type_; | 1005   ExternalArrayType array_type_; | 
| 1005 }; | 1006 }; | 
| 1006 | 1007 | 
| 1007 | 1008 | 
| 1008 } }  // namespace v8::internal | 1009 } }  // namespace v8::internal | 
| 1009 | 1010 | 
| 1010 #endif  // V8_CODE_STUBS_H_ | 1011 #endif  // V8_CODE_STUBS_H_ | 
| OLD | NEW | 
|---|