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

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

Issue 12917002: Pass Isolates explicitly in Deoptimizer-related code. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Cleanup Created 7 years, 9 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/x64/lithium-codegen-x64.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 3461 matching lines...) Expand 10 before | Expand all | Expand 10 after
3472 } 3472 }
3473 3473
3474 3474
3475 bool Map::is_observed() { 3475 bool Map::is_observed() {
3476 return IsObserved::decode(bit_field3()); 3476 return IsObserved::decode(bit_field3());
3477 } 3477 }
3478 3478
3479 3479
3480 void Map::NotifyLeafMapLayoutChange() { 3480 void Map::NotifyLeafMapLayoutChange() {
3481 dependent_code()->DeoptimizeDependentCodeGroup( 3481 dependent_code()->DeoptimizeDependentCodeGroup(
3482 GetIsolate(),
3482 DependentCode::kPrototypeCheckGroup); 3483 DependentCode::kPrototypeCheckGroup);
3483 } 3484 }
3484 3485
3485 3486
3486 bool Map::CanOmitPrototypeChecks() { 3487 bool Map::CanOmitPrototypeChecks() {
3487 return !HasTransitionArray() && !is_dictionary_map() && 3488 return !HasTransitionArray() && !is_dictionary_map() &&
3488 FLAG_omit_prototype_checks_for_leaf_maps; 3489 FLAG_omit_prototype_checks_for_leaf_maps;
3489 } 3490 }
3490 3491
3491 3492
(...skipping 2518 matching lines...) Expand 10 before | Expand all | Expand 10 after
6010 #undef WRITE_UINT32_FIELD 6011 #undef WRITE_UINT32_FIELD
6011 #undef READ_SHORT_FIELD 6012 #undef READ_SHORT_FIELD
6012 #undef WRITE_SHORT_FIELD 6013 #undef WRITE_SHORT_FIELD
6013 #undef READ_BYTE_FIELD 6014 #undef READ_BYTE_FIELD
6014 #undef WRITE_BYTE_FIELD 6015 #undef WRITE_BYTE_FIELD
6015 6016
6016 6017
6017 } } // namespace v8::internal 6018 } } // namespace v8::internal
6018 6019
6019 #endif // V8_OBJECTS_INL_H_ 6020 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698