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

Side by Side Diff: src/objects-inl.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/objects.h ('k') | src/runtime.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 4053 matching lines...) Expand 10 before | Expand all | Expand 10 after
4064 Kind kind = this->kind(); 4064 Kind kind = this->kind();
4065 switch (kind) { 4065 switch (kind) {
4066 #define CASE(name) case name: return true; 4066 #define CASE(name) case name: return true;
4067 IC_KIND_LIST(CASE) 4067 IC_KIND_LIST(CASE)
4068 #undef CASE 4068 #undef CASE
4069 default: return false; 4069 default: return false;
4070 } 4070 }
4071 } 4071 }
4072 4072
4073 4073
4074 bool Code::is_debug_break() { 4074 bool Code::is_debug_stub() {
4075 return ic_state() == DEBUG_STUB && extra_ic_state() == DEBUG_BREAK; 4075 return ic_state() == DEBUG_STUB;
4076 } 4076 }
4077 4077
4078 4078
4079 Code::Flags Code::ComputeFlags(Kind kind, 4079 Code::Flags Code::ComputeFlags(Kind kind,
4080 InlineCacheState ic_state, 4080 InlineCacheState ic_state,
4081 ExtraICState extra_ic_state, 4081 ExtraICState extra_ic_state,
4082 StubType type, 4082 StubType type,
4083 int argc, 4083 int argc,
4084 InlineCacheHolderFlag holder) { 4084 InlineCacheHolderFlag holder) {
4085 ASSERT(argc <= Code::kMaxArguments); 4085 ASSERT(argc <= Code::kMaxArguments);
(...skipping 2158 matching lines...) Expand 10 before | Expand all | Expand 10 after
6244 #undef WRITE_UINT32_FIELD 6244 #undef WRITE_UINT32_FIELD
6245 #undef READ_SHORT_FIELD 6245 #undef READ_SHORT_FIELD
6246 #undef WRITE_SHORT_FIELD 6246 #undef WRITE_SHORT_FIELD
6247 #undef READ_BYTE_FIELD 6247 #undef READ_BYTE_FIELD
6248 #undef WRITE_BYTE_FIELD 6248 #undef WRITE_BYTE_FIELD
6249 6249
6250 6250
6251 } } // namespace v8::internal 6251 } } // namespace v8::internal
6252 6252
6253 #endif // V8_OBJECTS_INL_H_ 6253 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698