Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 7faa2b2c4f35d1668ff68a8a0fca8d107e5b3a84..0b4e600dcc60ecd4b7c4b35a42564f638cbafc6f 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -24,9 +24,8 @@ MacroAssembler::MacroAssembler(Isolate* arg_isolate, void* buffer, int size) |
generating_stub_(false), |
has_frame_(false) { |
if (isolate() != NULL) { |
- // TODO(titzer): should we just use a null handle here instead? |
- code_object_ = Handle<Object>(isolate()->heap()->undefined_value(), |
- isolate()); |
+ code_object_ = |
+ Handle<Object>::New(isolate()->heap()->undefined_value(), isolate()); |
} |
} |