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

Side by Side Diff: src/objects.h

Issue 247373002: CallICStub with a "never patch" approach until customization. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE + code size multiplier. Created 6 years, 7 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/log.cc ('k') | src/objects.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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include "allocation.h" 8 #include "allocation.h"
9 #include "assert-scope.h" 9 #include "assert-scope.h"
10 #include "builtins.h" 10 #include "builtins.h"
(...skipping 5312 matching lines...) Expand 10 before | Expand all | Expand 10 after
5323 V(FUNCTION) \ 5323 V(FUNCTION) \
5324 V(OPTIMIZED_FUNCTION) \ 5324 V(OPTIMIZED_FUNCTION) \
5325 V(STUB) \ 5325 V(STUB) \
5326 V(HANDLER) \ 5326 V(HANDLER) \
5327 V(BUILTIN) \ 5327 V(BUILTIN) \
5328 V(REGEXP) 5328 V(REGEXP)
5329 5329
5330 #define IC_KIND_LIST(V) \ 5330 #define IC_KIND_LIST(V) \
5331 V(LOAD_IC) \ 5331 V(LOAD_IC) \
5332 V(KEYED_LOAD_IC) \ 5332 V(KEYED_LOAD_IC) \
5333 V(CALL_IC) \
5333 V(STORE_IC) \ 5334 V(STORE_IC) \
5334 V(KEYED_STORE_IC) \ 5335 V(KEYED_STORE_IC) \
5335 V(BINARY_OP_IC) \ 5336 V(BINARY_OP_IC) \
5336 V(COMPARE_IC) \ 5337 V(COMPARE_IC) \
5337 V(COMPARE_NIL_IC) \ 5338 V(COMPARE_NIL_IC) \
5338 V(TO_BOOLEAN_IC) 5339 V(TO_BOOLEAN_IC)
5339 5340
5340 #define CODE_KIND_LIST(V) \ 5341 #define CODE_KIND_LIST(V) \
5341 NON_IC_KIND_LIST(V) \ 5342 NON_IC_KIND_LIST(V) \
5342 IC_KIND_LIST(V) 5343 IC_KIND_LIST(V)
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
5432 inline StubType type(); // Only valid for monomorphic IC stubs. 5433 inline StubType type(); // Only valid for monomorphic IC stubs.
5433 5434
5434 // Testers for IC stub kinds. 5435 // Testers for IC stub kinds.
5435 inline bool is_inline_cache_stub(); 5436 inline bool is_inline_cache_stub();
5436 inline bool is_debug_stub(); 5437 inline bool is_debug_stub();
5437 inline bool is_handler() { return kind() == HANDLER; } 5438 inline bool is_handler() { return kind() == HANDLER; }
5438 inline bool is_load_stub() { return kind() == LOAD_IC; } 5439 inline bool is_load_stub() { return kind() == LOAD_IC; }
5439 inline bool is_keyed_load_stub() { return kind() == KEYED_LOAD_IC; } 5440 inline bool is_keyed_load_stub() { return kind() == KEYED_LOAD_IC; }
5440 inline bool is_store_stub() { return kind() == STORE_IC; } 5441 inline bool is_store_stub() { return kind() == STORE_IC; }
5441 inline bool is_keyed_store_stub() { return kind() == KEYED_STORE_IC; } 5442 inline bool is_keyed_store_stub() { return kind() == KEYED_STORE_IC; }
5443 inline bool is_call_stub() { return kind() == CALL_IC; }
5442 inline bool is_binary_op_stub() { return kind() == BINARY_OP_IC; } 5444 inline bool is_binary_op_stub() { return kind() == BINARY_OP_IC; }
5443 inline bool is_compare_ic_stub() { return kind() == COMPARE_IC; } 5445 inline bool is_compare_ic_stub() { return kind() == COMPARE_IC; }
5444 inline bool is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; } 5446 inline bool is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; }
5445 inline bool is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; } 5447 inline bool is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; }
5446 inline bool is_keyed_stub(); 5448 inline bool is_keyed_stub();
5447 inline bool is_optimized_code() { return kind() == OPTIMIZED_FUNCTION; } 5449 inline bool is_optimized_code() { return kind() == OPTIMIZED_FUNCTION; }
5448 inline bool is_weak_stub(); 5450 inline bool is_weak_stub();
5449 inline void mark_as_weak_stub(); 5451 inline void mark_as_weak_stub();
5450 inline bool is_invalidated_weak_stub(); 5452 inline bool is_invalidated_weak_stub();
5451 inline void mark_as_invalidated_weak_stub(); 5453 inline void mark_as_invalidated_weak_stub();
(...skipping 5721 matching lines...) Expand 10 before | Expand all | Expand 10 after
11173 } else { 11175 } else {
11174 value &= ~(1 << bit_position); 11176 value &= ~(1 << bit_position);
11175 } 11177 }
11176 return value; 11178 return value;
11177 } 11179 }
11178 }; 11180 };
11179 11181
11180 } } // namespace v8::internal 11182 } } // namespace v8::internal
11181 11183
11182 #endif // V8_OBJECTS_H_ 11184 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/log.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698