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

Side by Side Diff: src/heap.h

Issue 6315004: Truncate rather than round to nearest when performing float-to-integer... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 11 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/builtins.cc ('k') | src/ia32/ic-ia32.cc » ('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 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 V(illegal_break_symbol, "illegal_break") \ 196 V(illegal_break_symbol, "illegal_break") \
197 V(illegal_continue_symbol, "illegal_continue") \ 197 V(illegal_continue_symbol, "illegal_continue") \
198 V(unknown_label_symbol, "unknown_label") \ 198 V(unknown_label_symbol, "unknown_label") \
199 V(redeclaration_symbol, "redeclaration") \ 199 V(redeclaration_symbol, "redeclaration") \
200 V(failure_symbol, "<failure>") \ 200 V(failure_symbol, "<failure>") \
201 V(space_symbol, " ") \ 201 V(space_symbol, " ") \
202 V(exec_symbol, "exec") \ 202 V(exec_symbol, "exec") \
203 V(zero_symbol, "0") \ 203 V(zero_symbol, "0") \
204 V(global_eval_symbol, "GlobalEval") \ 204 V(global_eval_symbol, "GlobalEval") \
205 V(identity_hash_symbol, "v8::IdentityHash") \ 205 V(identity_hash_symbol, "v8::IdentityHash") \
206 V(closure_symbol, "(closure)") 206 V(closure_symbol, "(closure)") \
207 V(KeyedLoadExternalArray_symbol, "KeyedLoadExternalArray") \
208 V(KeyedStoreExternalArray_symbol, "KeyedStoreExternalArray")
207 209
208 210
209 // Forward declarations. 211 // Forward declarations.
210 class GCTracer; 212 class GCTracer;
211 class HeapStats; 213 class HeapStats;
212 class WeakObjectRetainer; 214 class WeakObjectRetainer;
213 215
214 216
215 typedef String* (*ExternalStringTableUpdaterCallback)(Object** pointer); 217 typedef String* (*ExternalStringTableUpdaterCallback)(Object** pointer);
216 218
(...skipping 1906 matching lines...) Expand 10 before | Expand all | Expand 10 after
2123 // Return whether this object should be retained. If NULL is returned the 2125 // Return whether this object should be retained. If NULL is returned the
2124 // object has no references. Otherwise the address of the retained object 2126 // object has no references. Otherwise the address of the retained object
2125 // should be returned as in some GC situations the object has been moved. 2127 // should be returned as in some GC situations the object has been moved.
2126 virtual Object* RetainAs(Object* object) = 0; 2128 virtual Object* RetainAs(Object* object) = 0;
2127 }; 2129 };
2128 2130
2129 2131
2130 } } // namespace v8::internal 2132 } } // namespace v8::internal
2131 2133
2132 #endif // V8_HEAP_H_ 2134 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/builtins.cc ('k') | src/ia32/ic-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698