diff options
author | Steve Block <steveblock@google.com> | 2009-11-05 08:53:23 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2009-11-05 08:53:23 +0000 |
commit | 3ce2e2076e8e3e60cf1810eec160ea2d8557e9e7 (patch) | |
tree | 5f5d61c95b42f8e38a8a0c22cb7ad0506984d725 /src/execution.cc | |
parent | a7e24c173cf37484693b9abb38e494fa7bd7baeb (diff) | |
download | android_external_v8-3ce2e2076e8e3e60cf1810eec160ea2d8557e9e7.tar.gz android_external_v8-3ce2e2076e8e3e60cf1810eec160ea2d8557e9e7.tar.bz2 android_external_v8-3ce2e2076e8e3e60cf1810eec160ea2d8557e9e7.zip |
Update V8 to r3121 as required for WebKit update.
Change-Id: Ic53e0aef9a9eb9b71ee7d25a8aef61520bba899c
Diffstat (limited to 'src/execution.cc')
-rw-r--r-- | src/execution.cc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/execution.cc b/src/execution.cc index 8bc6b74e..229b8df9 100644 --- a/src/execution.cc +++ b/src/execution.cc @@ -96,8 +96,11 @@ static Handle<Object> Invoke(bool construct, JSEntryFunction entry = FUNCTION_CAST<JSEntryFunction>(code->entry()); // Call the function through the right JS entry stub. - value = CALL_GENERATED_CODE(entry, func->code()->entry(), *func, - *receiver, argc, args); + byte* entry_address= func->code()->entry(); + JSFunction* function = *func; + Object* receiver_pointer = *receiver; + value = CALL_GENERATED_CODE(entry, entry_address, function, + receiver_pointer, argc, args); } #ifdef DEBUG @@ -383,7 +386,8 @@ void StackGuard::ThreadLocal::Initialize() { if (initial_climit_ == kIllegalLimit) { // Takes the address of the limit variable in order to find out where // the top of stack is right now. - intptr_t limit = reinterpret_cast<intptr_t>(&limit) - kLimitSize; + uintptr_t limit = reinterpret_cast<uintptr_t>(&limit) - kLimitSize; + ASSERT(reinterpret_cast<uintptr_t>(&limit) > kLimitSize); initial_jslimit_ = SimulatorStack::JsLimitFromCLimit(limit); jslimit_ = SimulatorStack::JsLimitFromCLimit(limit); initial_climit_ = limit; |