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

Side by Side Diff: src/globals.h

Issue 451643002: Clean up IC tracing for CallICs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Code comments. Created 6 years, 4 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/code-stubs.cc ('k') | src/ic.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 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_GLOBALS_H_ 5 #ifndef V8_GLOBALS_H_
6 #define V8_GLOBALS_H_ 6 #define V8_GLOBALS_H_
7 7
8 #include "include/v8stdint.h" 8 #include "include/v8stdint.h"
9 9
10 #include "src/base/build_config.h" 10 #include "src/base/build_config.h"
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 MONOMORPHIC, 439 MONOMORPHIC,
440 // Check failed due to prototype (or map deprecation). 440 // Check failed due to prototype (or map deprecation).
441 PROTOTYPE_FAILURE, 441 PROTOTYPE_FAILURE,
442 // Multiple receiver types have been seen. 442 // Multiple receiver types have been seen.
443 POLYMORPHIC, 443 POLYMORPHIC,
444 // Many receiver types have been seen. 444 // Many receiver types have been seen.
445 MEGAMORPHIC, 445 MEGAMORPHIC,
446 // A generic handler is installed and no extra typefeedback is recorded. 446 // A generic handler is installed and no extra typefeedback is recorded.
447 GENERIC, 447 GENERIC,
448 // Special state for debug break or step in prepare stubs. 448 // Special state for debug break or step in prepare stubs.
449 DEBUG_STUB 449 DEBUG_STUB,
450 // Type-vector-based ICs have a default state, with the full calculation
451 // of IC state only determined by a look at the IC and the typevector
452 // together.
453 DEFAULT
450 }; 454 };
451 455
452 456
453 enum CallFunctionFlags { 457 enum CallFunctionFlags {
454 NO_CALL_FUNCTION_FLAGS, 458 NO_CALL_FUNCTION_FLAGS,
455 CALL_AS_METHOD, 459 CALL_AS_METHOD,
456 // Always wrap the receiver and call to the JSFunction. Only use this flag 460 // Always wrap the receiver and call to the JSFunction. Only use this flag
457 // both the receiver type and the target method are statically known. 461 // both the receiver type and the target method are statically known.
458 WRAP_AND_CALL 462 WRAP_AND_CALL
459 }; 463 };
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 enum MinusZeroMode { 751 enum MinusZeroMode {
748 TREAT_MINUS_ZERO_AS_ZERO, 752 TREAT_MINUS_ZERO_AS_ZERO,
749 FAIL_ON_MINUS_ZERO 753 FAIL_ON_MINUS_ZERO
750 }; 754 };
751 755
752 } } // namespace v8::internal 756 } } // namespace v8::internal
753 757
754 namespace i = v8::internal; 758 namespace i = v8::internal;
755 759
756 #endif // V8_GLOBALS_H_ 760 #endif // V8_GLOBALS_H_
OLDNEW
« no previous file with comments | « src/code-stubs.cc ('k') | src/ic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698