| 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 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1042 }; | 1042 }; | 
| 1043 | 1043 | 
| 1044 | 1044 | 
| 1045 class LCmpMapAndBranch: public LTemplateInstruction<0, 1> { | 1045 class LCmpMapAndBranch: public LTemplateInstruction<0, 1> { | 
| 1046  public: | 1046  public: | 
| 1047   explicit LCmpMapAndBranch(LOperand* value) { | 1047   explicit LCmpMapAndBranch(LOperand* value) { | 
| 1048     inputs_[0] = value; | 1048     inputs_[0] = value; | 
| 1049   } | 1049   } | 
| 1050 | 1050 | 
| 1051   DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") | 1051   DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") | 
| 1052   DECLARE_HYDROGEN_ACCESSOR(CompareMapAndBranch) | 1052   DECLARE_HYDROGEN_ACCESSOR(CompareMap) | 
| 1053 | 1053 | 
| 1054   virtual bool IsControl() const { return true; } | 1054   virtual bool IsControl() const { return true; } | 
| 1055 | 1055 | 
| 1056   Handle<Map> map() const { return hydrogen()->map(); } | 1056   Handle<Map> map() const { return hydrogen()->map(); } | 
| 1057   int true_block_id() const { | 1057   int true_block_id() const { | 
| 1058     return hydrogen()->true_destination()->block_id(); | 1058     return hydrogen()->FirstSuccessor()->block_id(); | 
| 1059   } | 1059   } | 
| 1060   int false_block_id() const { | 1060   int false_block_id() const { | 
| 1061     return hydrogen()->false_destination()->block_id(); | 1061     return hydrogen()->SecondSuccessor()->block_id(); | 
| 1062   } | 1062   } | 
| 1063 }; | 1063 }; | 
| 1064 | 1064 | 
| 1065 | 1065 | 
| 1066 class LJSArrayLength: public LTemplateInstruction<1, 1> { | 1066 class LJSArrayLength: public LTemplateInstruction<1, 1> { | 
| 1067  public: | 1067  public: | 
| 1068   explicit LJSArrayLength(LOperand* value) { | 1068   explicit LJSArrayLength(LOperand* value) { | 
| 1069     inputs_[0] = value; | 1069     inputs_[0] = value; | 
| 1070   } | 1070   } | 
| 1071 | 1071 | 
| (...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2018   DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2018   DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 
| 2019 }; | 2019 }; | 
| 2020 | 2020 | 
| 2021 #undef DECLARE_HYDROGEN_ACCESSOR | 2021 #undef DECLARE_HYDROGEN_ACCESSOR | 
| 2022 #undef DECLARE_INSTRUCTION | 2022 #undef DECLARE_INSTRUCTION | 
| 2023 #undef DECLARE_CONCRETE_INSTRUCTION | 2023 #undef DECLARE_CONCRETE_INSTRUCTION | 
| 2024 | 2024 | 
| 2025 } }  // namespace v8::internal | 2025 } }  // namespace v8::internal | 
| 2026 | 2026 | 
| 2027 #endif  // V8_IA32_LITHIUM_IA32_H_ | 2027 #endif  // V8_IA32_LITHIUM_IA32_H_ | 
| OLD | NEW | 
|---|