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

Side by Side Diff: src/ia32/deoptimizer-ia32.cc

Issue 130743006: Merged r16772, r18000, r18298, r18319 into 3.21 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.21
Patch Set: Fix x64 Created 6 years, 11 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/ia32/builtins-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.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 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 input_frame_size - parameter_count * kPointerSize - 307 input_frame_size - parameter_count * kPointerSize -
308 StandardFrameConstants::kFixedFrameSize - 308 StandardFrameConstants::kFixedFrameSize -
309 kPointerSize; 309 kPointerSize;
310 ASSERT(JavaScriptFrameConstants::kDynamicAlignmentStateOffset == 310 ASSERT(JavaScriptFrameConstants::kDynamicAlignmentStateOffset ==
311 JavaScriptFrameConstants::kLocal0Offset); 311 JavaScriptFrameConstants::kLocal0Offset);
312 int32_t alignment_state = input_->GetFrameSlot(alignment_state_offset); 312 int32_t alignment_state = input_->GetFrameSlot(alignment_state_offset);
313 return (alignment_state == kAlignmentPaddingPushed); 313 return (alignment_state == kAlignmentPaddingPushed);
314 } 314 }
315 315
316 316
317 Code* Deoptimizer::NotifyStubFailureBuiltin() {
318 Builtins::Name name = CpuFeatures::IsSupported(SSE2) ?
319 Builtins::kNotifyStubFailureSaveDoubles : Builtins::kNotifyStubFailure;
320 return isolate_->builtins()->builtin(name);
321 }
322
323
317 #define __ masm()-> 324 #define __ masm()->
318 325
319 void Deoptimizer::EntryGenerator::Generate() { 326 void Deoptimizer::EntryGenerator::Generate() {
320 GeneratePrologue(); 327 GeneratePrologue();
321 328
322 // Save all general purpose registers before messing with them. 329 // Save all general purpose registers before messing with them.
323 const int kNumberOfRegisters = Register::kNumRegisters; 330 const int kNumberOfRegisters = Register::kNumRegisters;
324 331
325 const int kDoubleRegsSize = kDoubleSize * 332 const int kDoubleRegsSize = kDoubleSize *
326 XMMRegister::kNumAllocatableRegisters; 333 XMMRegister::kNumAllocatableRegisters;
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 SetFrameSlot(offset, value); 522 SetFrameSlot(offset, value);
516 } 523 }
517 524
518 525
519 #undef __ 526 #undef __
520 527
521 528
522 } } // namespace v8::internal 529 } } // namespace v8::internal
523 530
524 #endif // V8_TARGET_ARCH_IA32 531 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/builtins-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698