Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: src/assembler.cc

Issue 6499015: Make sure we always have room for patching the reloc info during lazy deoptim... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/assembler.h ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 #endif // V8_INTERPRETED_REGEXP 61 #endif // V8_INTERPRETED_REGEXP
62 62
63 namespace v8 { 63 namespace v8 {
64 namespace internal { 64 namespace internal {
65 65
66 66
67 const double DoubleConstant::min_int = kMinInt; 67 const double DoubleConstant::min_int = kMinInt;
68 const double DoubleConstant::one_half = 0.5; 68 const double DoubleConstant::one_half = 0.5;
69 const double DoubleConstant::minus_zero = -0.0; 69 const double DoubleConstant::minus_zero = -0.0;
70 const double DoubleConstant::negative_infinity = -V8_INFINITY; 70 const double DoubleConstant::negative_infinity = -V8_INFINITY;
71 71 const char* RelocInfo::kFillerCommentString = "DEOPTIMIZATION PADDING";
72 72
73 // ----------------------------------------------------------------------------- 73 // -----------------------------------------------------------------------------
74 // Implementation of Label 74 // Implementation of Label
75 75
76 int Label::pos() const { 76 int Label::pos() const {
77 if (pos_ < 0) return -pos_ - 1; 77 if (pos_ < 0) return -pos_ - 1;
78 if (pos_ > 0) return pos_ - 1; 78 if (pos_ > 0) return pos_ - 1;
79 UNREACHABLE(); 79 UNREACHABLE();
80 return 0; 80 return 0;
81 } 81 }
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 960 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
961 state_.written_position = state_.current_position; 961 state_.written_position = state_.current_position;
962 written = true; 962 written = true;
963 } 963 }
964 964
965 // Return whether something was written. 965 // Return whether something was written.
966 return written; 966 return written;
967 } 967 }
968 968
969 } } // namespace v8::internal 969 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698