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

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: fixed missing deopt index on ARM. 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
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 1928 matching lines...) Expand 10 before | Expand all | Expand 10 after
2318 2308
2319 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2309 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2320 }; 2310 };
2321 2311
2322 #undef DECLARE_HYDROGEN_ACCESSOR 2312 #undef DECLARE_HYDROGEN_ACCESSOR
2323 #undef DECLARE_CONCRETE_INSTRUCTION 2313 #undef DECLARE_CONCRETE_INSTRUCTION
2324 2314
2325 } } // namespace v8::internal 2315 } } // namespace v8::internal
2326 2316
2327 #endif // V8_IA32_LITHIUM_IA32_H_ 2317 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698