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

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

Issue 2010243003: Move hashmap into base/. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 6 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/ast/ast.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 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(HashMap* i_cache, Redirection* first) { 527 void Simulator::TearDown(base::HashMap* i_cache, Redirection* first) {
528 Redirection::DeleteChain(first); 528 Redirection::DeleteChain(first);
529 } 529 }
530 530
531 531
532 // Calls into the V8 runtime are based on this very simple interface. 532 // 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 533 // Note: To be able to return two values from some calls the code in runtime.cc
534 // uses the ObjectPair structure. 534 // uses the ObjectPair structure.
535 // The simulator assumes all runtime calls return two 64-bits values. If they 535 // 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. 536 // don't, register x1 is clobbered. This is fine because x1 is caller-saved.
537 typedef ObjectPair (*SimulatorRuntimeCall)(int64_t arg0, 537 typedef ObjectPair (*SimulatorRuntimeCall)(int64_t arg0,
(...skipping 3335 matching lines...) Expand 10 before | Expand all | Expand 10 after
3873 delete[] format; 3873 delete[] format;
3874 } 3874 }
3875 3875
3876 3876
3877 #endif // USE_SIMULATOR 3877 #endif // USE_SIMULATOR
3878 3878
3879 } // namespace internal 3879 } // namespace internal
3880 } // namespace v8 3880 } // namespace v8
3881 3881
3882 #endif // V8_TARGET_ARCH_ARM64 3882 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/simulator-arm64.h ('k') | src/ast/ast.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698