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

Side by Side Diff: src/arm64/simulator-arm64.cc

Issue 2369963002: [base] Remove PointersMatch, making a separate std::equals hashmap (Closed)
Patch Set: Fix the other simulators Created 4 years, 2 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/arm64/simulator-arm64.h ('k') | src/asmjs/asm-typer.cc » ('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 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 #include <stdlib.h> 5 #include <stdlib.h>
6 #include <cmath> 6 #include <cmath>
7 #include <cstdarg> 7 #include <cstdarg>
8 8
9 #if V8_TARGET_ARCH_ARM64 9 #if V8_TARGET_ARCH_ARM64
10 10
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 517
518 private: 518 private:
519 void* external_function_; 519 void* external_function_;
520 Instruction redirect_call_; 520 Instruction redirect_call_;
521 ExternalReference::Type type_; 521 ExternalReference::Type type_;
522 Redirection* next_; 522 Redirection* next_;
523 }; 523 };
524 524
525 525
526 // static 526 // static
527 void Simulator::TearDown(base::HashMap* i_cache, Redirection* first) { 527 void Simulator::TearDown(base::CustomMatcherHashMap* i_cache,
528 Redirection* first) {
528 Redirection::DeleteChain(first); 529 Redirection::DeleteChain(first);
529 } 530 }
530 531
531 532
532 // Calls into the V8 runtime are based on this very simple interface. 533 // Calls into the V8 runtime are based on this very simple interface.
533 // Note: To be able to return two values from some calls the code in runtime.cc 534 // Note: To be able to return two values from some calls the code in runtime.cc
534 // uses the ObjectPair structure. 535 // uses the ObjectPair structure.
535 // The simulator assumes all runtime calls return two 64-bits values. If they 536 // The simulator assumes all runtime calls return two 64-bits values. If they
536 // don't, register x1 is clobbered. This is fine because x1 is caller-saved. 537 // don't, register x1 is clobbered. This is fine because x1 is caller-saved.
537 typedef ObjectPair (*SimulatorRuntimeCall)(int64_t arg0, 538 typedef ObjectPair (*SimulatorRuntimeCall)(int64_t arg0,
(...skipping 3338 matching lines...) Expand 10 before | Expand all | Expand 10 after
3876 delete[] format; 3877 delete[] format;
3877 } 3878 }
3878 3879
3879 3880
3880 #endif // USE_SIMULATOR 3881 #endif // USE_SIMULATOR
3881 3882
3882 } // namespace internal 3883 } // namespace internal
3883 } // namespace v8 3884 } // namespace v8
3884 3885
3885 #endif // V8_TARGET_ARCH_ARM64 3886 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/simulator-arm64.h ('k') | src/asmjs/asm-typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698