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

Side by Side Diff: src/runtime/runtime.h

Issue 1096763003: Small polishing changes to the native js. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « src/runtime.js ('k') | src/runtime/runtime-numbers.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 F(NumberImul, 2, 1) \ 370 F(NumberImul, 2, 1) \
371 F(NumberOr, 2, 1) \ 371 F(NumberOr, 2, 1) \
372 F(NumberAnd, 2, 1) \ 372 F(NumberAnd, 2, 1) \
373 F(NumberXor, 2, 1) \ 373 F(NumberXor, 2, 1) \
374 F(NumberShl, 2, 1) \ 374 F(NumberShl, 2, 1) \
375 F(NumberShr, 2, 1) \ 375 F(NumberShr, 2, 1) \
376 F(NumberSar, 2, 1) \ 376 F(NumberSar, 2, 1) \
377 F(NumberEquals, 2, 1) \ 377 F(NumberEquals, 2, 1) \
378 F(NumberCompare, 3, 1) \ 378 F(NumberCompare, 3, 1) \
379 F(SmiLexicographicCompare, 2, 1) \ 379 F(SmiLexicographicCompare, 2, 1) \
380 F(GetRootNaN, 0, 1) \
381 F(MaxSmi, 0, 1) \ 380 F(MaxSmi, 0, 1) \
382 F(NumberToString, 1, 1) \ 381 F(NumberToString, 1, 1) \
383 F(IsSmi, 1, 1) \ 382 F(IsSmi, 1, 1) \
384 F(IsNonNegativeSmi, 1, 1) 383 F(IsNonNegativeSmi, 1, 1)
385 384
386 385
387 #define FOR_EACH_INTRINSIC_OBJECT(F) \ 386 #define FOR_EACH_INTRINSIC_OBJECT(F) \
388 F(GetPrototype, 1, 1) \ 387 F(GetPrototype, 1, 1) \
389 F(InternalSetPrototype, 2, 1) \ 388 F(InternalSetPrototype, 2, 1) \
390 F(SetPrototype, 2, 1) \ 389 F(SetPrototype, 2, 1) \
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 858
860 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 859 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
861 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 860 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
862 STATIC_ASSERT(LANGUAGE_END == 3); 861 STATIC_ASSERT(LANGUAGE_END == 3);
863 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 862 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
864 863
865 } // namespace internal 864 } // namespace internal
866 } // namespace v8 865 } // namespace v8
867 866
868 #endif // V8_RUNTIME_RUNTIME_H_ 867 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/runtime.js ('k') | src/runtime/runtime-numbers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698