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

Side by Side Diff: src/x64/macro-assembler-x64.cc

Issue 15303004: Implement HChange support for Smis and use it in Load/StoreNameField (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback Created 7 years, 7 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
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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 j(equal, &ok, Label::kNear); 467 j(equal, &ok, Label::kNear);
468 Abort("JSObject with fast elements map has slow elements"); 468 Abort("JSObject with fast elements map has slow elements");
469 bind(&ok); 469 bind(&ok);
470 } 470 }
471 } 471 }
472 472
473 473
474 void MacroAssembler::Check(Condition cc, const char* msg) { 474 void MacroAssembler::Check(Condition cc, const char* msg) {
475 Label L; 475 Label L;
476 j(cc, &L, Label::kNear); 476 j(cc, &L, Label::kNear);
477 int3();
477 Abort(msg); 478 Abort(msg);
478 // Control will not return here. 479 // Control will not return here.
479 bind(&L); 480 bind(&L);
480 } 481 }
481 482
482 483
483 void MacroAssembler::CheckStackAlignment() { 484 void MacroAssembler::CheckStackAlignment() {
484 int frame_alignment = OS::ActivationFrameAlignment(); 485 int frame_alignment = OS::ActivationFrameAlignment();
485 int frame_alignment_mask = frame_alignment - 1; 486 int frame_alignment_mask = frame_alignment - 1;
486 if (frame_alignment > kPointerSize) { 487 if (frame_alignment > kPointerSize) {
(...skipping 4185 matching lines...) Expand 10 before | Expand all | Expand 10 after
4672 j(greater, &no_info_available); 4673 j(greater, &no_info_available);
4673 CompareRoot(MemOperand(scratch_reg, -AllocationSiteInfo::kSize), 4674 CompareRoot(MemOperand(scratch_reg, -AllocationSiteInfo::kSize),
4674 Heap::kAllocationSiteInfoMapRootIndex); 4675 Heap::kAllocationSiteInfoMapRootIndex);
4675 bind(&no_info_available); 4676 bind(&no_info_available);
4676 } 4677 }
4677 4678
4678 4679
4679 } } // namespace v8::internal 4680 } } // namespace v8::internal
4680 4681
4681 #endif // V8_TARGET_ARCH_X64 4682 #endif // V8_TARGET_ARCH_X64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698