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

Side by Side Diff: src/x64/code-stubs-x64.cc

Issue 1351493002: Extra code to diagnose a crash bug. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Code comments. Created 5 years, 3 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
« no previous file with comments | « src/ic/x87/ic-x87.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if V8_TARGET_ARCH_X64 5 #if V8_TARGET_ARCH_X64
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/ic/handler-compiler.h" 10 #include "src/ic/handler-compiler.h"
(...skipping 4343 matching lines...) Expand 10 before | Expand all | Expand 10 after
4354 4354
4355 __ bind(&not_array); 4355 __ bind(&not_array);
4356 __ CompareRoot(feedback, Heap::kmegamorphic_symbolRootIndex); 4356 __ CompareRoot(feedback, Heap::kmegamorphic_symbolRootIndex);
4357 __ j(not_equal, &miss); 4357 __ j(not_equal, &miss);
4358 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags( 4358 Code::Flags code_flags = Code::RemoveTypeAndHolderFromFlags(
4359 Code::ComputeHandlerFlags(Code::LOAD_IC)); 4359 Code::ComputeHandlerFlags(Code::LOAD_IC));
4360 masm->isolate()->stub_cache()->GenerateProbe( 4360 masm->isolate()->stub_cache()->GenerateProbe(
4361 masm, Code::LOAD_IC, code_flags, receiver, name, feedback, no_reg); 4361 masm, Code::LOAD_IC, code_flags, receiver, name, feedback, no_reg);
4362 4362
4363 __ bind(&miss); 4363 __ bind(&miss);
4364 LoadIC::GenerateMiss(masm); 4364 LoadIC::GenerateMiss(masm, LoadIC::kStressDispatcher);
4365 4365
4366 __ bind(&load_smi_map); 4366 __ bind(&load_smi_map);
4367 __ LoadRoot(receiver_map, Heap::kHeapNumberMapRootIndex); 4367 __ LoadRoot(receiver_map, Heap::kHeapNumberMapRootIndex);
4368 __ jmp(&compare_map); 4368 __ jmp(&compare_map);
4369 } 4369 }
4370 4370
4371 4371
4372 void KeyedLoadICStub::Generate(MacroAssembler* masm) { 4372 void KeyedLoadICStub::Generate(MacroAssembler* masm) {
4373 GenerateImpl(masm, false); 4373 GenerateImpl(masm, false);
4374 } 4374 }
(...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after
5578 kStackSpace, nullptr, return_value_operand, NULL); 5578 kStackSpace, nullptr, return_value_operand, NULL);
5579 } 5579 }
5580 5580
5581 5581
5582 #undef __ 5582 #undef __
5583 5583
5584 } // namespace internal 5584 } // namespace internal
5585 } // namespace v8 5585 } // namespace v8
5586 5586
5587 #endif // V8_TARGET_ARCH_X64 5587 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/ic/x87/ic-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698