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

Unified Diff: src/runtime.cc

Issue 14150019: Fix build failure on Win64 since r14458. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index 5c1cde2bf526297371769d68390398021faa0746..dc7de2a4dea5b43ddd4a54e3ff49bf75c0752a34 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -2480,7 +2480,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_SuspendJSGeneratorObject) {
// allocation fails.
intptr_t offset = frame->pc() - function->code()->instruction_start();
ASSERT(offset > 0 && Smi::IsValid(offset));
- generator_object->set_continuation(offset);
+ generator_object->set_continuation(static_cast<int>(offset));
// It's possible for the context to be other than the initial context even if
// there is no stack handler active. For example, this is the case in the
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698