}
+void FullCodeGenerator::EmitDebugBreakInOptimizedCode(CallRuntime* expr) {
+ context()->Plug(handle(Smi::FromInt(0), isolate()));
+}
+
+
void FullCodeGenerator::VisitBinaryOperation(BinaryOperation* expr) {
switch (expr->op()) {
case Token::COMMA:
}
+void HOptimizedGraphBuilder::GenerateDebugBreakInOptimizedCode(
+ CallRuntime* call) {
+ AddInstruction(new(zone()) HDebugBreak());
+ return ast_context()->ReturnValue(graph()->GetConstant0());
+}
+
+
#undef CHECK_BAILOUT
#undef CHECK_ALIVE
F(GetCachedArrayIndex, 1, 1) \
F(FastAsciiArrayJoin, 2, 1) \
F(GeneratorNext, 2, 1) \
- F(GeneratorThrow, 2, 1)
+ F(GeneratorThrow, 2, 1) \
+ F(DebugBreakInOptimizedCode, 0, 1)
// ----------------------------------------------------------------------------
"ResolvePossiblyDirectEval": true,
"Log": true,
"DeclareGlobals": true,
+ "ArrayConstructor": true,
+ "InternalArrayConstructor": true,
"PromoteScheduledException": true,
"DeleteHandleScopeExtensions": true,
var currentlyUncallable = {
// We need to find a way to test this without breaking the system.
- "SystemBreak": true
+ "SystemBreak": true,
+ // Inserts an int3/stop instruction when run with --always-opt.
+ "_DebugBreakInOptimizedCode": true
};
function testNatives() {
"ParallelRecompile": true,
"InstallRecompiledCode": true,
"NotifyDeoptimized": true,
+ "NotifyStubFailure": true,
"NotifyOSR": true,
"CreateObjectLiteralBoilerplate": true,
"CloneLiteralBoilerplate": true,
var currentlyUncallable = {
// We need to find a way to test this without breaking the system.
- "SystemBreak": true
+ "SystemBreak": true,
+ // Inserts an int3/stop instruction when run with --always-opt.
+ "_DebugBreakInOptimizedCode": true
};
function testNatives() {
"ParallelRecompile": true,
"InstallRecompiledCode": true,
"NotifyDeoptimized": true,
+ "NotifyStubFailure": true,
"NotifyOSR": true,
"CreateObjectLiteralBoilerplate": true,
"CloneLiteralBoilerplate": true,
"ResolvePossiblyDirectEval": true,
"Log": true,
"DeclareGlobals": true,
+ "ArrayConstructor": true,
+ "InternalArrayConstructor": true,
"PromoteScheduledException": true,
"DeleteHandleScopeExtensions": true,
var currentlyUncallable = {
// We need to find a way to test this without breaking the system.
- "SystemBreak": true
+ "SystemBreak": true,
+ // Inserts an int3/stop instruction when run with --always-opt.
+ "_DebugBreakInOptimizedCode": true
};
function testNatives() {
"ParallelRecompile": true,
"InstallRecompiledCode": true,
"NotifyDeoptimized": true,
+ "NotifyStubFailure": true,
"NotifyOSR": true,
"CreateObjectLiteralBoilerplate": true,
"CloneLiteralBoilerplate": true,
"ResolvePossiblyDirectEval": true,
"Log": true,
"DeclareGlobals": true,
+ "ArrayConstructor": true,
+ "InternalArrayConstructor": true,
"PromoteScheduledException": true,
"DeleteHandleScopeExtensions": true,
var currentlyUncallable = {
// We need to find a way to test this without breaking the system.
- "SystemBreak": true
+ "SystemBreak": true,
+ // Inserts an int3/stop instruction when run with --always-opt.
+ "_DebugBreakInOptimizedCode": true
};
function testNatives() {