Revision: 14433
Author: [email protected]
Date: Thu Apr 25 03:57:24 2013
Log: Get isolate from thread local instead of (potentially missing)
block in HConstant.
[email protected]
BUG=
Review URL: https://chromiumcodereview.appspot.com/14284011
http://code.google.com/p/v8/source/detail?r=14433
Modified:
/branches/bleeding_edge/src/hydrogen-instructions.h
=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.h Wed Apr 24 07:51:14
2013
+++ /branches/bleeding_edge/src/hydrogen-instructions.h Thu Apr 25 03:57:24
2013
@@ -3249,9 +3249,9 @@
Handle<Object> handle() {
if (handle_.is_null()) {
- handle_ = isolate()->factory()->NewNumber(double_value_, TENURED);
+ handle_ = FACTORY->NewNumber(double_value_, TENURED);
}
- ALLOW_HANDLE_DEREF(isolate(), "smi check");
+ ALLOW_HANDLE_DEREF(Isolate::Current(), "smi check");
ASSERT(has_int32_value_ || !handle_->IsSmi());
return handle_;
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.