| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 | 228 |
| 229 | 229 |
| 230 class TypeRecordingBinaryOpStub: public CodeStub { | 230 class TypeRecordingBinaryOpStub: public CodeStub { |
| 231 public: | 231 public: |
| 232 TypeRecordingBinaryOpStub(Token::Value op, OverwriteMode mode) | 232 TypeRecordingBinaryOpStub(Token::Value op, OverwriteMode mode) |
| 233 : op_(op), | 233 : op_(op), |
| 234 mode_(mode), | 234 mode_(mode), |
| 235 operands_type_(TRBinaryOpIC::UNINITIALIZED), | 235 operands_type_(TRBinaryOpIC::UNINITIALIZED), |
| 236 result_type_(TRBinaryOpIC::UNINITIALIZED), | 236 result_type_(TRBinaryOpIC::UNINITIALIZED), |
| 237 name_(NULL) { | 237 name_(NULL) { |
| 238 use_vfp3_ = CpuFeatures::IsSupported(VFP3); | 238 use_vfp3_ = Isolate::Current()->cpu_features()->IsSupported(VFP3); |
| 239 ASSERT(OpBits::is_valid(Token::NUM_TOKENS)); | 239 ASSERT(OpBits::is_valid(Token::NUM_TOKENS)); |
| 240 } | 240 } |
| 241 | 241 |
| 242 TypeRecordingBinaryOpStub( | 242 TypeRecordingBinaryOpStub( |
| 243 int key, | 243 int key, |
| 244 TRBinaryOpIC::TypeInfo operands_type, | 244 TRBinaryOpIC::TypeInfo operands_type, |
| 245 TRBinaryOpIC::TypeInfo result_type = TRBinaryOpIC::UNINITIALIZED) | 245 TRBinaryOpIC::TypeInfo result_type = TRBinaryOpIC::UNINITIALIZED) |
| 246 : op_(OpBits::decode(key)), | 246 : op_(OpBits::decode(key)), |
| 247 mode_(ModeBits::decode(key)), | 247 mode_(ModeBits::decode(key)), |
| 248 use_vfp3_(VFP3Bits::decode(key)), | 248 use_vfp3_(VFP3Bits::decode(key)), |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 613 | 613 |
| 614 bool NeedsImmovableCode() { return true; } | 614 bool NeedsImmovableCode() { return true; } |
| 615 | 615 |
| 616 const char* GetName() { return "DirectCEntryStub"; } | 616 const char* GetName() { return "DirectCEntryStub"; } |
| 617 }; | 617 }; |
| 618 | 618 |
| 619 | 619 |
| 620 } } // namespace v8::internal | 620 } } // namespace v8::internal |
| 621 | 621 |
| 622 #endif // V8_ARM_CODE_STUBS_ARM_H_ | 622 #endif // V8_ARM_CODE_STUBS_ARM_H_ |
| OLD | NEW |