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

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

Issue 16925008: Generate StoreGlobal stubs with Hydrogen (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address feedback 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
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 ||
3790 kind() == LOAD_IC || 3791 kind() == LOAD_IC ||
3791 kind() == KEYED_LOAD_IC || 3792 kind() == KEYED_LOAD_IC ||
3792 kind() == TO_BOOLEAN_IC); 3793 kind() == TO_BOOLEAN_IC);
3793 return StubMajorKeyField::decode( 3794 return StubMajorKeyField::decode(
3794 READ_UINT32_FIELD(this, kKindSpecificFlags2Offset)); 3795 READ_UINT32_FIELD(this, kKindSpecificFlags2Offset));
3795 } 3796 }
3796 3797
3797 3798
3798 void Code::set_major_key(int major) { 3799 void Code::set_major_key(int major) {
3799 ASSERT(kind() == STUB || 3800 ASSERT(kind() == STUB ||
(...skipping 2380 matching lines...) Expand 10 before | Expand all | Expand 10 after
6180 #undef WRITE_UINT32_FIELD 6181 #undef WRITE_UINT32_FIELD
6181 #undef READ_SHORT_FIELD 6182 #undef READ_SHORT_FIELD
6182 #undef WRITE_SHORT_FIELD 6183 #undef WRITE_SHORT_FIELD
6183 #undef READ_BYTE_FIELD 6184 #undef READ_BYTE_FIELD
6184 #undef WRITE_BYTE_FIELD 6185 #undef WRITE_BYTE_FIELD
6185 6186
6186 6187
6187 } } // namespace v8::internal 6188 } } // namespace v8::internal
6188 6189
6189 #endif // V8_OBJECTS_INL_H_ 6190 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime.cc » ('j') | src/x64/lithium-gap-resolver-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698