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

Unified Diff: src/compiler/js-graph.cc

Issue 1881913002: Revert of [compiler] Add relocatable pointer constants for wasm memory references. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/js-graph.h ('k') | src/compiler/opcodes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-graph.cc
diff --git a/src/compiler/js-graph.cc b/src/compiler/js-graph.cc
index b5e01cf966b4af80fab9d67e7c0b55f5b0f7f91d..98ca7aa3c3f831dc36bb59e569ebc772447dedfc 100644
--- a/src/compiler/js-graph.cc
+++ b/src/compiler/js-graph.cc
@@ -139,28 +139,6 @@
return *loc;
}
-Node* JSGraph::RelocatableInt32Constant(int32_t value, RelocInfo::Mode rmode) {
- Node** loc = cache_.FindRelocatableInt32Constant(value);
- if (*loc == nullptr) {
- *loc = graph()->NewNode(common()->RelocatableInt32Constant(value, rmode));
- }
- return *loc;
-}
-
-Node* JSGraph::RelocatableInt64Constant(int64_t value, RelocInfo::Mode rmode) {
- Node** loc = cache_.FindRelocatableInt64Constant(value);
- if (*loc == nullptr) {
- *loc = graph()->NewNode(common()->RelocatableInt64Constant(value, rmode));
- }
- return *loc;
-}
-
-Node* JSGraph::RelocatableIntPtrConstant(intptr_t value,
- RelocInfo::Mode rmode) {
- return kPointerSize == 8
- ? RelocatableInt64Constant(value, rmode)
- : RelocatableInt32Constant(static_cast<int>(value), rmode);
-}
Node* JSGraph::NumberConstant(double value) {
Node** loc = cache_.FindNumberConstant(value);
« no previous file with comments | « src/compiler/js-graph.h ('k') | src/compiler/opcodes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698