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

Unified Diff: src/objects.cc

Issue 140943002: Fix logic error in assert in IsUndeclaredGlobal() (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ports and addressed comments. Created 6 years, 11 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
« no previous file with comments | « src/objects.h ('k') | src/promise.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 7e7a3c0f59135be8edae8a335d7afedf4f97a774..5427e305184e80d6ea4a904b105b8e4af373550a 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -10828,17 +10828,6 @@ bool Code::CanDeoptAt(Address pc) {
}
-bool Code::IsContextual() {
- ASSERT(is_inline_cache_stub());
- Kind kind = this->kind();
- if (kind == STORE_IC || kind == LOAD_IC || kind == CALL_IC) {
- ExtraICState extra_state = extra_ic_state();
- return IC::GetContextualMode(extra_state) == CONTEXTUAL;
- }
- return false;
-}
-
-
// Identify kind of code.
const char* Code::Kind2String(Kind kind) {
switch (kind) {
« no previous file with comments | « src/objects.h ('k') | src/promise.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698