Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Unified Diff: src/hydrogen-instructions.h

Issue 10807024: Optimize functions on a second thread. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/hydrogen-instructions.h
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
index edd93f0748e0ca90e5f884542a9bf38399177875..4f0035687bce49d074039e91f7ec8a4bb78c0269 100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -2289,7 +2289,6 @@ class HCheckPrototypeMaps: public HTemplateInstruction<0> {
virtual void PrintDataTo(StringStream* stream);
virtual intptr_t Hashcode() {
- ASSERT(!HEAP->IsAllocationAllowed());
Yang 2012/07/19 12:47:30 It would be great if we could distinguish between
sanjoy 2012/07/19 15:06:09 We can't leave in the checks as-is since the JS th
intptr_t hash = reinterpret_cast<intptr_t>(*prototype());
hash = 17 * hash + reinterpret_cast<intptr_t>(*holder());
return hash;
@@ -2535,7 +2534,6 @@ class HConstant: public HTemplateInstruction<0> {
bool ToBoolean();
virtual intptr_t Hashcode() {
- ASSERT(!HEAP->allow_allocation(false));
intptr_t hash;
if (has_int32_value_) {
@@ -3640,7 +3638,6 @@ class HLoadGlobalCell: public HTemplateInstruction<0> {
virtual void PrintDataTo(StringStream* stream);
virtual intptr_t Hashcode() {
- ASSERT(!HEAP->allow_allocation(false));
return reinterpret_cast<intptr_t>(*cell_);
}

Powered by Google App Engine
This is Rietveld 408576698