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

Side by Side Diff: src/objects.h

Issue 61213012: Invalidate embedded objects in optimized code if it was marked for deoptimization. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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/mark-compact.cc ('k') | src/objects.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 5044 matching lines...) Expand 10 before | Expand all | Expand 10 after
5055 void Disassemble(const char* name, FILE* out = stdout); 5055 void Disassemble(const char* name, FILE* out = stdout);
5056 #endif // ENABLE_DISASSEMBLER 5056 #endif // ENABLE_DISASSEMBLER
5057 5057
5058 // [instruction_size]: Size of the native instructions 5058 // [instruction_size]: Size of the native instructions
5059 inline int instruction_size(); 5059 inline int instruction_size();
5060 inline void set_instruction_size(int value); 5060 inline void set_instruction_size(int value);
5061 5061
5062 // [relocation_info]: Code relocation information 5062 // [relocation_info]: Code relocation information
5063 DECL_ACCESSORS(relocation_info, ByteArray) 5063 DECL_ACCESSORS(relocation_info, ByteArray)
5064 void InvalidateRelocation(); 5064 void InvalidateRelocation();
5065 void InvalidateEmbeddedObjects();
5065 5066
5066 // [handler_table]: Fixed array containing offsets of exception handlers. 5067 // [handler_table]: Fixed array containing offsets of exception handlers.
5067 DECL_ACCESSORS(handler_table, FixedArray) 5068 DECL_ACCESSORS(handler_table, FixedArray)
5068 5069
5069 // [deoptimization_data]: Array containing data for deopt. 5070 // [deoptimization_data]: Array containing data for deopt.
5070 DECL_ACCESSORS(deoptimization_data, FixedArray) 5071 DECL_ACCESSORS(deoptimization_data, FixedArray)
5071 5072
5072 // [raw_type_feedback_info]: This field stores various things, depending on 5073 // [raw_type_feedback_info]: This field stores various things, depending on
5073 // the kind of the code object. 5074 // the kind of the code object.
5074 // FUNCTION => type feedback information. 5075 // FUNCTION => type feedback information.
(...skipping 5495 matching lines...) Expand 10 before | Expand all | Expand 10 after
10570 } else { 10571 } else {
10571 value &= ~(1 << bit_position); 10572 value &= ~(1 << bit_position);
10572 } 10573 }
10573 return value; 10574 return value;
10574 } 10575 }
10575 }; 10576 };
10576 10577
10577 } } // namespace v8::internal 10578 } } // namespace v8::internal
10578 10579
10579 #endif // V8_OBJECTS_H_ 10580 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/mark-compact.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698