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