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

Side by Side Diff: src/hydrogen-instructions.h

Issue 23533003: Implement fixpoint iteration for escape analysis. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Put behind a flag. Created 7 years, 2 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/hydrogen-escape-analysis.cc ('k') | src/hydrogen-instructions.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 3207 matching lines...) Expand 10 before | Expand all | Expand 10 after
3218 3218
3219 void ReuseSideEffectsFromStore(HInstruction* store) { 3219 void ReuseSideEffectsFromStore(HInstruction* store) {
3220 ASSERT(store->HasObservableSideEffects()); 3220 ASSERT(store->HasObservableSideEffects());
3221 ASSERT(store->IsStoreNamedField()); 3221 ASSERT(store->IsStoreNamedField());
3222 gvn_flags_.Add(store->gvn_flags()); 3222 gvn_flags_.Add(store->gvn_flags());
3223 } 3223 }
3224 3224
3225 // Replay effects of this instruction on the given environment. 3225 // Replay effects of this instruction on the given environment.
3226 void ReplayEnvironment(HEnvironment* env); 3226 void ReplayEnvironment(HEnvironment* env);
3227 3227
3228 virtual void PrintDataTo(StringStream* stream) V8_OVERRIDE;
3229
3228 DECLARE_CONCRETE_INSTRUCTION(CapturedObject) 3230 DECLARE_CONCRETE_INSTRUCTION(CapturedObject)
3229 3231
3230 private: 3232 private:
3231 int capture_id_; 3233 int capture_id_;
3232 }; 3234 };
3233 3235
3234 3236
3235 class HConstant V8_FINAL : public HTemplateInstruction<0> { 3237 class HConstant V8_FINAL : public HTemplateInstruction<0> {
3236 public: 3238 public:
3237 DECLARE_INSTRUCTION_FACTORY_P1(HConstant, int32_t); 3239 DECLARE_INSTRUCTION_FACTORY_P1(HConstant, int32_t);
(...skipping 3761 matching lines...) Expand 10 before | Expand all | Expand 10 after
6999 virtual bool IsDeletable() const V8_OVERRIDE { return true; } 7001 virtual bool IsDeletable() const V8_OVERRIDE { return true; }
7000 }; 7002 };
7001 7003
7002 7004
7003 #undef DECLARE_INSTRUCTION 7005 #undef DECLARE_INSTRUCTION
7004 #undef DECLARE_CONCRETE_INSTRUCTION 7006 #undef DECLARE_CONCRETE_INSTRUCTION
7005 7007
7006 } } // namespace v8::internal 7008 } } // namespace v8::internal
7007 7009
7008 #endif // V8_HYDROGEN_INSTRUCTIONS_H_ 7010 #endif // V8_HYDROGEN_INSTRUCTIONS_H_
OLDNEW
« no previous file with comments | « src/hydrogen-escape-analysis.cc ('k') | src/hydrogen-instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698