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

Side by Side Diff: src/objects.h

Issue 25571002: Revert "Hydrogenisation of binops" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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/spaces.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 // 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 4865 matching lines...) Expand 10 before | Expand all | Expand 10 after
4876 } 4876 }
4877 inline InlineCacheState ic_state(); // Only valid for IC stubs. 4877 inline InlineCacheState ic_state(); // Only valid for IC stubs.
4878 inline ExtraICState extra_ic_state(); // Only valid for IC stubs. 4878 inline ExtraICState extra_ic_state(); // Only valid for IC stubs.
4879 4879
4880 inline ExtraICState extended_extra_ic_state(); // Only valid for 4880 inline ExtraICState extended_extra_ic_state(); // Only valid for
4881 // non-call IC stubs. 4881 // non-call IC stubs.
4882 static bool needs_extended_extra_ic_state(Kind kind) { 4882 static bool needs_extended_extra_ic_state(Kind kind) {
4883 // TODO(danno): This is a bit of a hack right now since there are still 4883 // TODO(danno): This is a bit of a hack right now since there are still
4884 // clients of this API that pass "extra" values in for argc. These clients 4884 // clients of this API that pass "extra" values in for argc. These clients
4885 // should be retrofitted to used ExtendedExtraICState. 4885 // should be retrofitted to used ExtendedExtraICState.
4886 return kind == COMPARE_NIL_IC || kind == TO_BOOLEAN_IC || 4886 return kind == COMPARE_NIL_IC || kind == TO_BOOLEAN_IC;
4887 kind == BINARY_OP_IC;
4888 } 4887 }
4889 4888
4890 inline StubType type(); // Only valid for monomorphic IC stubs. 4889 inline StubType type(); // Only valid for monomorphic IC stubs.
4891 inline int arguments_count(); // Only valid for call IC stubs. 4890 inline int arguments_count(); // Only valid for call IC stubs.
4892 4891
4893 // Testers for IC stub kinds. 4892 // Testers for IC stub kinds.
4894 inline bool is_inline_cache_stub(); 4893 inline bool is_inline_cache_stub();
4895 inline bool is_debug_stub(); 4894 inline bool is_debug_stub();
4896 inline bool is_handler() { return kind() == HANDLER; } 4895 inline bool is_handler() { return kind() == HANDLER; }
4897 inline bool is_load_stub() { return kind() == LOAD_IC; } 4896 inline bool is_load_stub() { return kind() == LOAD_IC; }
(...skipping 5341 matching lines...) Expand 10 before | Expand all | Expand 10 after
10239 } else { 10238 } else {
10240 value &= ~(1 << bit_position); 10239 value &= ~(1 << bit_position);
10241 } 10240 }
10242 return value; 10241 return value;
10243 } 10242 }
10244 }; 10243 };
10245 10244
10246 } } // namespace v8::internal 10245 } } // namespace v8::internal
10247 10246
10248 #endif // V8_OBJECTS_H_ 10247 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/log.cc ('k') | src/spaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698