Index: src/runtime.cc |
=================================================================== |
--- src/runtime.cc (revision 15486) |
+++ src/runtime.cc (working copy) |
@@ -4068,6 +4068,7 @@ |
return -1; |
} |
+ |
RUNTIME_FUNCTION(MaybeObject*, Runtime_StringLastIndexOf) { |
HandleScope scope(isolate); |
ASSERT(args.length() == 3); |
@@ -4789,6 +4790,7 @@ |
return isolate->heap()->undefined_value(); |
} |
+ |
// Implements part of 8.12.9 DefineOwnProperty. |
// There are 3 cases that lead here: |
// Step 4a - define a new data property. |
@@ -7463,6 +7465,7 @@ |
return isolate->transcendental_cache()->Get(TranscendentalCache::LOG, x); |
} |
+ |
// Slow version of Math.pow. We check for fast paths for special cases. |
// Used if SSE2/VFP3 is not available. |
RUNTIME_FUNCTION(MaybeObject*, Runtime_Math_pow) { |
@@ -7485,6 +7488,7 @@ |
return isolate->heap()->AllocateHeapNumber(result); |
} |
+ |
// Fast version of Math.pow if we know that y is not an integer and y is not |
// -0.5 or 0.5. Used as slow case from full codegen. |
RUNTIME_FUNCTION(MaybeObject*, Runtime_Math_pow_cfunction) { |
@@ -8852,6 +8856,7 @@ |
MaybeObject* y; |
}; |
+ |
static inline ObjectPair MakePair(MaybeObject* x, MaybeObject* y) { |
ObjectPair result = {x, y}; |
// Pointers x and y returned in rax and rdx, in AMD-x64-abi. |
@@ -10233,6 +10238,7 @@ |
return string; |
} |
+ |
// Moves all own elements of an object, that are below a limit, to positions |
// starting at zero. All undefined values are placed after non-undefined values, |
// and are followed by non-existing element. Does not change the length |
@@ -11850,6 +11856,7 @@ |
return *isolate->factory()->NewJSArrayWithElements(details); |
} |
+ |
// Return an array with scope details |
// args[0]: number: break id |
// args[1]: number: frame index |
@@ -12956,6 +12963,7 @@ |
return counter; |
} |
+ |
// For a script finds all SharedFunctionInfo's in the heap that points |
// to this script. Returns JSArray of SharedFunctionInfo wrapped |
// in OpaqueReferences. |
@@ -13001,6 +13009,7 @@ |
return *result; |
} |
+ |
// For a script calculates compilation information about all its functions. |
// The script source is explicitly specified by the second argument. |
// The source of the actual script is not used, however it is important that |
@@ -13027,6 +13036,7 @@ |
return result; |
} |
+ |
// Changes the source of the script to a new_source. |
// If old_script_name is provided (i.e. is a String), also creates a copy of |
// the script with its original source and sends notification to debugger. |
@@ -13074,6 +13084,7 @@ |
return LiveEdit::ReplaceFunctionCode(new_compile_info, shared_info); |
} |
+ |
// Connects SharedFunctionInfo to another script. |
RUNTIME_FUNCTION(MaybeObject*, Runtime_LiveEditFunctionSetScript) { |
HandleScope scope(isolate); |
@@ -13148,6 +13159,7 @@ |
return *LiveEdit::CheckAndDropActivations(shared_array, do_drop); |
} |
+ |
// Compares 2 strings line-by-line, then token-wise and returns diff in form |
// of JSArray of triplets (pos1, pos1_end, pos2_end) describing list |
// of diff chunks. |