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

Side by Side Diff: src/runtime.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/regexp.js ('k') | src/runtime.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 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 F(SetHiddenPrototype, 2, 1) \ 72 F(SetHiddenPrototype, 2, 1) \
73 \ 73 \
74 F(IsConstructCall, 0, 1) \ 74 F(IsConstructCall, 0, 1) \
75 \ 75 \
76 F(GetOwnProperty, 2, 1) \ 76 F(GetOwnProperty, 2, 1) \
77 \ 77 \
78 F(IsExtensible, 1, 1) \ 78 F(IsExtensible, 1, 1) \
79 F(PreventExtensions, 1, 1)\ 79 F(PreventExtensions, 1, 1)\
80 \ 80 \
81 /* Utilities */ \ 81 /* Utilities */ \
82 F(CheckIsBootstrapping, 0, 1) \
83 F(GetFunctionDelegate, 1, 1) \ 82 F(GetFunctionDelegate, 1, 1) \
84 F(GetConstructorDelegate, 1, 1) \ 83 F(GetConstructorDelegate, 1, 1) \
85 F(NewArgumentsFast, 3, 1) \ 84 F(NewArgumentsFast, 3, 1) \
86 F(NewStrictArgumentsFast, 3, 1) \ 85 F(NewStrictArgumentsFast, 3, 1) \
87 F(LazyCompile, 1, 1) \ 86 F(LazyCompile, 1, 1) \
88 F(LazyRecompile, 1, 1) \ 87 F(LazyRecompile, 1, 1) \
89 F(NotifyDeoptimized, 1, 1) \ 88 F(NotifyDeoptimized, 1, 1) \
90 F(NotifyOSR, 0, 1) \ 89 F(NotifyOSR, 0, 1) \
91 F(DeoptimizeFunction, 1, 1) \ 90 F(DeoptimizeFunction, 1, 1) \
92 F(RunningInSimulator, 0, 1) \ 91 F(RunningInSimulator, 0, 1) \
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 669
671 enum kDeclareGlobalsFlags { 670 enum kDeclareGlobalsFlags {
672 kDeclareGlobalsEvalFlag = 1 << 0, 671 kDeclareGlobalsEvalFlag = 1 << 0,
673 kDeclareGlobalsStrictModeFlag = 1 << 1, 672 kDeclareGlobalsStrictModeFlag = 1 << 1,
674 kDeclareGlobalsNativeFlag = 1 << 2 673 kDeclareGlobalsNativeFlag = 1 << 2
675 }; 674 };
676 675
677 } } // namespace v8::internal 676 } } // namespace v8::internal
678 677
679 #endif // V8_RUNTIME_H_ 678 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/regexp.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698