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

Side by Side Diff: src/ia32/lithium-ia32.h

Issue 8492004: Fix lazy deoptimization at HInvokeFunction and enable target-recording call-function stub. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: added nop-padding and assertions on all platforms Created 9 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/ia32/lithium-codegen-ia32.cc ('k') | src/lithium.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 359
360 int block_id() const { return block_id_; } 360 int block_id() const { return block_id_; }
361 361
362 private: 362 private:
363 int block_id_; 363 int block_id_;
364 }; 364 };
365 365
366 366
367 class LLazyBailout: public LTemplateInstruction<0, 0, 0> { 367 class LLazyBailout: public LTemplateInstruction<0, 0, 0> {
368 public: 368 public:
369 LLazyBailout() : gap_instructions_size_(0) { }
370
371 DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout") 369 DECLARE_CONCRETE_INSTRUCTION(LazyBailout, "lazy-bailout")
372
373 void set_gap_instructions_size(int gap_instructions_size) {
374 gap_instructions_size_ = gap_instructions_size;
375 }
376 int gap_instructions_size() { return gap_instructions_size_; }
377
378 private:
379 int gap_instructions_size_;
380 }; 370 };
381 371
382 372
383 class LDeoptimize: public LTemplateInstruction<0, 0, 0> { 373 class LDeoptimize: public LTemplateInstruction<0, 0, 0> {
384 public: 374 public:
385 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") 375 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize")
386 }; 376 };
387 377
388 378
389 class LLabel: public LGap { 379 class LLabel: public LGap {
(...skipping 1930 matching lines...) Expand 10 before | Expand all | Expand 10 after
2320 2310
2321 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2311 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2322 }; 2312 };
2323 2313
2324 #undef DECLARE_HYDROGEN_ACCESSOR 2314 #undef DECLARE_HYDROGEN_ACCESSOR
2325 #undef DECLARE_CONCRETE_INSTRUCTION 2315 #undef DECLARE_CONCRETE_INSTRUCTION
2326 2316
2327 } } // namespace v8::internal 2317 } } // namespace v8::internal
2328 2318
2329 #endif // V8_IA32_LITHIUM_IA32_H_ 2319 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/lithium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698