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

Side by Side Diff: src/heap.h

Issue 7830036: Optimize isFinite and isNaN. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Made the change general by moving putting it in the NUMBER_IS_FINITE macro. Created 9 years, 3 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/extensions/externalize-string-extension.cc ('k') | src/isolate.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 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 V(redeclaration_symbol, "redeclaration") \ 218 V(redeclaration_symbol, "redeclaration") \
219 V(failure_symbol, "<failure>") \ 219 V(failure_symbol, "<failure>") \
220 V(space_symbol, " ") \ 220 V(space_symbol, " ") \
221 V(exec_symbol, "exec") \ 221 V(exec_symbol, "exec") \
222 V(zero_symbol, "0") \ 222 V(zero_symbol, "0") \
223 V(global_eval_symbol, "GlobalEval") \ 223 V(global_eval_symbol, "GlobalEval") \
224 V(identity_hash_symbol, "v8::IdentityHash") \ 224 V(identity_hash_symbol, "v8::IdentityHash") \
225 V(closure_symbol, "(closure)") \ 225 V(closure_symbol, "(closure)") \
226 V(use_strict, "use strict") \ 226 V(use_strict, "use strict") \
227 V(dot_symbol, ".") \ 227 V(dot_symbol, ".") \
228 V(anonymous_function_symbol, "(anonymous function)") 228 V(anonymous_function_symbol, "(anonymous function)") \
229 V(block_scope_symbol, ".block")
229 230
230 // Forward declarations. 231 // Forward declarations.
231 class GCTracer; 232 class GCTracer;
232 class HeapStats; 233 class HeapStats;
233 class Isolate; 234 class Isolate;
234 class WeakObjectRetainer; 235 class WeakObjectRetainer;
235 236
236 237
237 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap, 238 typedef String* (*ExternalStringTableUpdaterCallback)(Heap* heap,
238 Object** pointer); 239 Object** pointer);
(...skipping 2080 matching lines...) Expand 10 before | Expand all | Expand 10 after
2319 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2320 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2320 }; 2321 };
2321 #endif // DEBUG || LIVE_OBJECT_LIST 2322 #endif // DEBUG || LIVE_OBJECT_LIST
2322 2323
2323 2324
2324 } } // namespace v8::internal 2325 } } // namespace v8::internal
2325 2326
2326 #undef HEAP 2327 #undef HEAP
2327 2328
2328 #endif // V8_HEAP_H_ 2329 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/extensions/externalize-string-extension.cc ('k') | src/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698