| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include <stdlib.h> | 5 #include <stdlib.h> | 
| 6 #include <limits> | 6 #include <limits> | 
| 7 | 7 | 
| 8 #include "v8.h" | 8 #include "v8.h" | 
| 9 | 9 | 
| 10 #include "accessors.h" | 10 #include "accessors.h" | 
| (...skipping 10680 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 10691   ASSIGN_RETURN_FAILURE_ON_EXCEPTION( | 10691   ASSIGN_RETURN_FAILURE_ON_EXCEPTION( | 
| 10692       isolate, result, | 10692       isolate, result, | 
| 10693       JSObject::GetAccessor(Handle<JSObject>::cast(receiver), name, component)); | 10693       JSObject::GetAccessor(Handle<JSObject>::cast(receiver), name, component)); | 
| 10694   return *result; | 10694   return *result; | 
| 10695 } | 10695 } | 
| 10696 | 10696 | 
| 10697 | 10697 | 
| 10698 RUNTIME_FUNCTION(Runtime_DebugBreak) { | 10698 RUNTIME_FUNCTION(Runtime_DebugBreak) { | 
| 10699   SealHandleScope shs(isolate); | 10699   SealHandleScope shs(isolate); | 
| 10700   ASSERT(args.length() == 0); | 10700   ASSERT(args.length() == 0); | 
| 10701   isolate->debug()->DebugBreakHelper(); | 10701   isolate->debug()->HandleDebugBreak(); | 
| 10702   return isolate->heap()->undefined_value(); | 10702   return isolate->heap()->undefined_value(); | 
| 10703 } | 10703 } | 
| 10704 | 10704 | 
| 10705 | 10705 | 
| 10706 // Helper functions for wrapping and unwrapping stack frame ids. | 10706 // Helper functions for wrapping and unwrapping stack frame ids. | 
| 10707 static Smi* WrapFrameId(StackFrame::Id id) { | 10707 static Smi* WrapFrameId(StackFrame::Id id) { | 
| 10708   ASSERT(IsAligned(OffsetFrom(id), static_cast<intptr_t>(4))); | 10708   ASSERT(IsAligned(OffsetFrom(id), static_cast<intptr_t>(4))); | 
| 10709   return Smi::FromInt(id >> 2); | 10709   return Smi::FromInt(id >> 2); | 
| 10710 } | 10710 } | 
| 10711 | 10711 | 
| (...skipping 4406 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 15118   } | 15118   } | 
| 15119   return NULL; | 15119   return NULL; | 
| 15120 } | 15120 } | 
| 15121 | 15121 | 
| 15122 | 15122 | 
| 15123 const Runtime::Function* Runtime::FunctionForId(Runtime::FunctionId id) { | 15123 const Runtime::Function* Runtime::FunctionForId(Runtime::FunctionId id) { | 
| 15124   return &(kIntrinsicFunctions[static_cast<int>(id)]); | 15124   return &(kIntrinsicFunctions[static_cast<int>(id)]); | 
| 15125 } | 15125 } | 
| 15126 | 15126 | 
| 15127 } }  // namespace v8::internal | 15127 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|