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/objects.h

Issue 23761002: Merged r16205, r16220, r16237, r16249, r16262, r16269, r16273 into 3.20 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.20
Patch Set: Created 7 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/liveedit.cc ('k') | src/objects-inl.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 // 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 4891 matching lines...) Expand 10 before | Expand all | Expand 10 after
4902 // clients of this API that pass "extra" values in for argc. These clients 4902 // clients of this API that pass "extra" values in for argc. These clients
4903 // should be retrofitted to used ExtendedExtraICState. 4903 // should be retrofitted to used ExtendedExtraICState.
4904 return kind == COMPARE_NIL_IC || kind == TO_BOOLEAN_IC; 4904 return kind == COMPARE_NIL_IC || kind == TO_BOOLEAN_IC;
4905 } 4905 }
4906 4906
4907 inline StubType type(); // Only valid for monomorphic IC stubs. 4907 inline StubType type(); // Only valid for monomorphic IC stubs.
4908 inline int arguments_count(); // Only valid for call IC stubs. 4908 inline int arguments_count(); // Only valid for call IC stubs.
4909 4909
4910 // Testers for IC stub kinds. 4910 // Testers for IC stub kinds.
4911 inline bool is_inline_cache_stub(); 4911 inline bool is_inline_cache_stub();
4912 inline bool is_debug_break(); 4912 inline bool is_debug_stub();
4913 inline bool is_load_stub() { return kind() == LOAD_IC; } 4913 inline bool is_load_stub() { return kind() == LOAD_IC; }
4914 inline bool is_keyed_load_stub() { return kind() == KEYED_LOAD_IC; } 4914 inline bool is_keyed_load_stub() { return kind() == KEYED_LOAD_IC; }
4915 inline bool is_store_stub() { return kind() == STORE_IC; } 4915 inline bool is_store_stub() { return kind() == STORE_IC; }
4916 inline bool is_keyed_store_stub() { return kind() == KEYED_STORE_IC; } 4916 inline bool is_keyed_store_stub() { return kind() == KEYED_STORE_IC; }
4917 inline bool is_call_stub() { return kind() == CALL_IC; } 4917 inline bool is_call_stub() { return kind() == CALL_IC; }
4918 inline bool is_keyed_call_stub() { return kind() == KEYED_CALL_IC; } 4918 inline bool is_keyed_call_stub() { return kind() == KEYED_CALL_IC; }
4919 inline bool is_binary_op_stub() { return kind() == BINARY_OP_IC; } 4919 inline bool is_binary_op_stub() { return kind() == BINARY_OP_IC; }
4920 inline bool is_compare_ic_stub() { return kind() == COMPARE_IC; } 4920 inline bool is_compare_ic_stub() { return kind() == COMPARE_IC; }
4921 inline bool is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; } 4921 inline bool is_compare_nil_ic_stub() { return kind() == COMPARE_NIL_IC; }
4922 inline bool is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; } 4922 inline bool is_to_boolean_ic_stub() { return kind() == TO_BOOLEAN_IC; }
(...skipping 5248 matching lines...) Expand 10 before | Expand all | Expand 10 after
10171 } else { 10171 } else {
10172 value &= ~(1 << bit_position); 10172 value &= ~(1 << bit_position);
10173 } 10173 }
10174 return value; 10174 return value;
10175 } 10175 }
10176 }; 10176 };
10177 10177
10178 } } // namespace v8::internal 10178 } } // namespace v8::internal
10179 10179
10180 #endif // V8_OBJECTS_H_ 10180 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/liveedit.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698