| OLD | NEW |
| 1 // Copyright (c) 2011 Sun Microsystems Inc. | 1 // Copyright (c) 2011 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 69 |
| 70 | 70 |
| 71 const double DoubleConstant::min_int = kMinInt; | 71 const double DoubleConstant::min_int = kMinInt; |
| 72 const double DoubleConstant::one_half = 0.5; | 72 const double DoubleConstant::one_half = 0.5; |
| 73 const double DoubleConstant::minus_zero = -0.0; | 73 const double DoubleConstant::minus_zero = -0.0; |
| 74 const double DoubleConstant::uint8_max_value = 255; | 74 const double DoubleConstant::uint8_max_value = 255; |
| 75 const double DoubleConstant::zero = 0.0; | 75 const double DoubleConstant::zero = 0.0; |
| 76 const double DoubleConstant::canonical_non_hole_nan = OS::nan_value(); | 76 const double DoubleConstant::canonical_non_hole_nan = OS::nan_value(); |
| 77 const double DoubleConstant::the_hole_nan = BitCast<double>(kHoleNanInt64); | 77 const double DoubleConstant::the_hole_nan = BitCast<double>(kHoleNanInt64); |
| 78 const double DoubleConstant::negative_infinity = -V8_INFINITY; | 78 const double DoubleConstant::negative_infinity = -V8_INFINITY; |
| 79 const char* RelocInfo::kFillerCommentString = "DEOPTIMIZATION PADDING"; | 79 const char* const RelocInfo::kFillerCommentString = "DEOPTIMIZATION PADDING"; |
| 80 | 80 |
| 81 // ----------------------------------------------------------------------------- | 81 // ----------------------------------------------------------------------------- |
| 82 // Implementation of AssemblerBase | 82 // Implementation of AssemblerBase |
| 83 | 83 |
| 84 AssemblerBase::AssemblerBase(Isolate* isolate) | 84 AssemblerBase::AssemblerBase(Isolate* isolate) |
| 85 : isolate_(isolate), | 85 : isolate_(isolate), |
| 86 jit_cookie_(0) { | 86 jit_cookie_(0) { |
| 87 if (FLAG_mask_constants_with_cookie && isolate != NULL) { | 87 if (FLAG_mask_constants_with_cookie && isolate != NULL) { |
| 88 jit_cookie_ = V8::RandomPrivate(isolate); | 88 jit_cookie_ = V8::RandomPrivate(isolate); |
| 89 } | 89 } |
| (...skipping 1146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1236 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 1236 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
| 1237 state_.written_position = state_.current_position; | 1237 state_.written_position = state_.current_position; |
| 1238 written = true; | 1238 written = true; |
| 1239 } | 1239 } |
| 1240 | 1240 |
| 1241 // Return whether something was written. | 1241 // Return whether something was written. |
| 1242 return written; | 1242 return written; |
| 1243 } | 1243 } |
| 1244 | 1244 |
| 1245 } } // namespace v8::internal | 1245 } } // namespace v8::internal |
| OLD | NEW |