Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 436602d657ed67e8f403d7da7dd8911dcb43c087..6cd9be76776db9f22dc72fc5ed9c1c3834d310e8 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -342,7 +342,7 @@ template <> |
HValue* CodeStubGraphBuilder<NumberToStringStub>::BuildCodeStub() { |
info()->MarkAsSavesCallerDoubles(); |
HValue* number = GetParameter(NumberToStringStub::kNumber); |
- return BuildNumberToString(number, Type::Number(isolate())); |
+ return BuildNumberToString(number, Type::Number(zone())); |
} |
@@ -876,7 +876,7 @@ HValue* CodeStubGraphBuilder<CompareNilICStub>::BuildCodeInitializedStub() { |
CompareNilICStub* stub = casted_stub(); |
HIfContinuation continuation; |
Handle<Map> sentinel_map(isolate->heap()->meta_map()); |
- Handle<Type> type = stub->GetType(isolate, sentinel_map); |
+ Type* type = stub->GetType(zone(), sentinel_map); |
BuildCompareNil(GetParameter(0), type, &continuation); |
IfBuilder if_nil(this, &continuation); |
if_nil.Then(); |
@@ -903,9 +903,9 @@ HValue* CodeStubGraphBuilder<BinaryOpICStub>::BuildCodeInitializedStub() { |
HValue* left = GetParameter(BinaryOpICStub::kLeft); |
HValue* right = GetParameter(BinaryOpICStub::kRight); |
- Handle<Type> left_type = state.GetLeftType(isolate()); |
- Handle<Type> right_type = state.GetRightType(isolate()); |
- Handle<Type> result_type = state.GetResultType(isolate()); |
+ Type* left_type = state.GetLeftType(zone()); |
+ Type* right_type = state.GetRightType(zone()); |
+ Type* result_type = state.GetResultType(zone()); |
ASSERT(!left_type->Is(Type::None()) && !right_type->Is(Type::None()) && |
(state.HasSideEffects() || !result_type->Is(Type::None()))); |
@@ -923,7 +923,7 @@ HValue* CodeStubGraphBuilder<BinaryOpICStub>::BuildCodeInitializedStub() { |
{ |
Push(BuildBinaryOperation( |
state.op(), left, right, |
- Type::String(isolate()), right_type, |
+ Type::String(zone()), right_type, |
result_type, state.fixed_right_arg())); |
} |
if_leftisstring.Else(); |
@@ -942,7 +942,7 @@ HValue* CodeStubGraphBuilder<BinaryOpICStub>::BuildCodeInitializedStub() { |
{ |
Push(BuildBinaryOperation( |
state.op(), left, right, |
- left_type, Type::String(isolate()), |
+ left_type, Type::String(zone()), |
result_type, state.fixed_right_arg())); |
} |
if_rightisstring.Else(); |