Index: src/compiler/js-create-lowering.cc |
diff --git a/src/compiler/js-create-lowering.cc b/src/compiler/js-create-lowering.cc |
index 0cc89b49c4ea785cbef216f853c314b4bbd9f44e..23ae27b36818c3ddde5c28c551e9f55b5ad478d2 100644 |
--- a/src/compiler/js-create-lowering.cc |
+++ b/src/compiler/js-create-lowering.cc |
@@ -674,8 +674,8 @@ Reduction JSCreateLowering::ReduceJSCreateClosure(Node* node) { |
handle(Map::cast(native_context()->get(function_map_index)), isolate())); |
// Note that it is only safe to embed the raw entry point of the compile |
// lazy stub into the code, because that stub is immortal and immovable. |
- Node* compile_entry = jsgraph()->IntPtrConstant(reinterpret_cast<intptr_t>( |
- jsgraph()->isolate()->builtins()->CompileLazy()->entry())); |
+ Node* compile_entry = jsgraph()->PointerConstant( |
+ jsgraph()->isolate()->builtins()->CompileLazy()->entry()); |
Node* empty_fixed_array = jsgraph()->EmptyFixedArrayConstant(); |
Node* empty_literals_array = jsgraph()->EmptyLiteralsArrayConstant(); |
Node* the_hole = jsgraph()->TheHoleConstant(); |