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

Side by Side Diff: src/objects-inl.h

Issue 18357004: Revert r15419: "Generate StoreGlobal stubs with Hydrogen" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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/objects.cc ('k') | src/runtime.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 3769 matching lines...) Expand 10 before | Expand all | Expand 10 after
3780 WRITE_UINT32_FIELD(this, kKindSpecificFlags2Offset, updated); 3780 WRITE_UINT32_FIELD(this, kKindSpecificFlags2Offset, updated);
3781 } 3781 }
3782 3782
3783 3783
3784 int Code::major_key() { 3784 int Code::major_key() {
3785 ASSERT(kind() == STUB || 3785 ASSERT(kind() == STUB ||
3786 kind() == UNARY_OP_IC || 3786 kind() == UNARY_OP_IC ||
3787 kind() == BINARY_OP_IC || 3787 kind() == BINARY_OP_IC ||
3788 kind() == COMPARE_IC || 3788 kind() == COMPARE_IC ||
3789 kind() == COMPARE_NIL_IC || 3789 kind() == COMPARE_NIL_IC ||
3790 kind() == STORE_IC ||
3791 kind() == LOAD_IC || 3790 kind() == LOAD_IC ||
3792 kind() == KEYED_LOAD_IC || 3791 kind() == KEYED_LOAD_IC ||
3793 kind() == TO_BOOLEAN_IC); 3792 kind() == TO_BOOLEAN_IC);
3794 return StubMajorKeyField::decode( 3793 return StubMajorKeyField::decode(
3795 READ_UINT32_FIELD(this, kKindSpecificFlags2Offset)); 3794 READ_UINT32_FIELD(this, kKindSpecificFlags2Offset));
3796 } 3795 }
3797 3796
3798 3797
3799 void Code::set_major_key(int major) { 3798 void Code::set_major_key(int major) {
3800 ASSERT(kind() == STUB || 3799 ASSERT(kind() == STUB ||
(...skipping 2378 matching lines...) Expand 10 before | Expand all | Expand 10 after
6179 #undef WRITE_UINT32_FIELD 6178 #undef WRITE_UINT32_FIELD
6180 #undef READ_SHORT_FIELD 6179 #undef READ_SHORT_FIELD
6181 #undef WRITE_SHORT_FIELD 6180 #undef WRITE_SHORT_FIELD
6182 #undef READ_BYTE_FIELD 6181 #undef READ_BYTE_FIELD
6183 #undef WRITE_BYTE_FIELD 6182 #undef WRITE_BYTE_FIELD
6184 6183
6185 6184
6186 } } // namespace v8::internal 6185 } } // namespace v8::internal
6187 6186
6188 #endif // V8_OBJECTS_INL_H_ 6187 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698